-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/node-hid-async
- Loading branch information
Showing
48 changed files
with
1,689 additions
and
922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,19 +7,18 @@ on: | |
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
|
||
publish: | ||
name: Publish to NPM (nightly) | ||
runs-on: ubuntu-latest | ||
continue-on-error: false | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12.x | ||
node-version: 16.x | ||
- name: Check if token is set | ||
id: check-npm-token | ||
run: | | ||
|
@@ -60,6 +59,15 @@ jobs: | |
run: | | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc | ||
npm whoami | ||
- name: Git commit | ||
if: ${{ steps.check-npm-token.outputs.is-ok }} | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github CI" | ||
git add -A | ||
git commit -m "Make lerna happy" | ||
env: | ||
CI: true | ||
- name: Publish nightly to NPM | ||
if: ${{ steps.check-npm-token.outputs.is-ok }} | ||
run: yarn lerna:publish from-package --dist-tag nightly --no-verify-access --yes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.