Skip to content

Commit

Permalink
chore: added scripts to test and compile code resources before pushin…
Browse files Browse the repository at this point in the history
…g to npm
  • Loading branch information
prjctimg authored Mar 28, 2024
1 parent fce329a commit 291bd20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release-please-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 20
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
- run: npm i
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
- run: |
npm test
npm run code:publish
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH}}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 291bd20

Please sign in to comment.