-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: set up npm publish workflow (#121)
* test(npm): dry run npm publish workflow * fix(test): checkout repo * ci(npm): add `JS-DevTools/npm-publish` GHA * build: bump version
- Loading branch information
1 parent
fc3c0ef
commit 8abc647
Showing
4 changed files
with
49 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: cd | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
npm: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4.1.1 | ||
- name: Publish sdk tag to npm | ||
uses: JS-DevTools/npm-publish@v3.0.1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
tag: sdk | ||
- name: Publish latest tag to npm | ||
uses: JS-DevTools/npm-publish@v3.0.1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} | ||
tag: latest |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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