Skip to content

Commit

Permalink
Add build step in the npm-publish GitHub Workflow
Browse files Browse the repository at this point in the history
Add missing step that builds the npm package in the GitHub
workflow, before publishing the code to npm.
  • Loading branch information
cNikolaou committed Jun 4, 2024
1 parent 2f47719 commit caa5a7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit caa5a7f

Please sign in to comment.