feat: try release npm with semantic-release #5
Workflow file for this run
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
# name: npm_publish | |
# on: | |
# release: | |
# types: [published] | |
# jobs: | |
# publish: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: actions/setup-node@v3 | |
# with: | |
# node-version: 18 | |
# - run: npm init --scope=nosto -y | |
# - run: npm install | |
# - run: npm run build | |
# - run: npm run test | |
# - uses: JS-DevTools/npm-publish@v1 | |
# with: | |
# token: ${{ secrets.NPMJS_TOKEN }} | |
# access: "public" | |
# dry-run: false | |
# check-version: true |