Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kphaitin committed Jul 30, 2022
2 parents 4d9aa26 + d719fd1 commit 1aa6c4a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: NpmJS Publish Bot
name: Node.js Package

on:
release:
Expand All @@ -15,9 +15,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test

- run: yarn install
- run: yarn build
publish-npm:
needs: build
runs-on: ubuntu-latest
Expand All @@ -27,8 +26,6 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 1aa6c4a

Please sign in to comment.