Skip to content

Commit

Permalink
Release 14.9.x (#1240)
Browse files Browse the repository at this point in the history
* Update test.yml

* Update test.yml

* Less verbose unit types (#1181)

Co-authored-by: IntGrah <[email protected]>

* reverting isNote test, fixing workflow

* fixing job dependencies

* Deprecating singleton variables, use singleton getter instead (#1233)

* Deprecating singleton variables, use singleton getter instead

* updating references

* moving over to getters instead of global vars

* Simplifying oscillator type strings using templates (#1234)

* simplifying interface types using templates

* uploading codecov threshold

* adjusting thresh

* updating checkout

* organizing docs (#1235)

* Updating link syntax (#1236)

* Using @see typedoc (#1237)

* updating link to Context instead of BaseContext (#1238)

* Update README.md

* Small doc updates and tweaks (#1239)

---------

Co-authored-by: IntGrah <[email protected]>
  • Loading branch information
tambien and IntGrah authored Apr 30, 2024
1 parent 95a2275 commit 28c921f
Show file tree
Hide file tree
Showing 91 changed files with 676 additions and 568 deletions.
6 changes: 6 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: auto
threshold: 1%
33 changes: 0 additions & 33 deletions .github/workflows/publish.yml

This file was deleted.

46 changes: 39 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [opened, reopened, synchronize]
branches:
- dev
- main
push:
branches:
- dev
Expand All @@ -21,7 +22,7 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
Expand All @@ -36,7 +37,8 @@ jobs:
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
fail_ci_if_error: false
codecov_yml_path: ./.github/codecov.yml
token: ${{ secrets.CODECOV_TOKEN }}
test-code-examples:
name: Check typedocs
Expand All @@ -46,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
Expand All @@ -66,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
Expand All @@ -86,7 +88,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
Expand All @@ -104,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
Expand All @@ -115,4 +117,34 @@ jobs:
- name: Build
run: npm run build
- name: Test
run: npm run test:readme
run: npm run test:readme
publish:
runs-on: ubuntu-latest
# make sure all the tests pass first
needs: [run-tests, test-code-examples, test-html-examples, test-lint, test-readme]
# not on PRs
if: github.event_name != 'pull_request'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_CI: true
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: 18.12.0
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Increment version
run: npm run increment
- name: Publish @next
# dev branch gets published with @next tag
run: npm publish --tag next
if: ${{ github.ref == 'refs/heads/dev' }}
- name: Publish @latest
# main branch gets published with @latest tag
run: npm publish
if: ${{ github.ref == 'refs/heads/main' }}
Loading

0 comments on commit 28c921f

Please sign in to comment.