Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenastar-js authored Feb 25, 2024
1 parent 2cdc013 commit 486fb57
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
with:
node-version: lts/*
- run: yarn
- run: npm run build
- run: npm run test

publish-npm:
needs: build
Expand All @@ -26,8 +24,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://www.npmjs.com/package/ravenastar
registry-url: https://registry.npmjs.org/
- run: yarn
- run: npm publish
- run: |
npm version pre --preid=$(date +%s) --no-git-tag-version
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 486fb57

Please sign in to comment.