Skip to content

Commit

Permalink
Build script added prior to packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3Sky committed Nov 25, 2020
1 parent 859a0f7 commit a2236ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build --if-present
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
Expand All @@ -52,6 +53,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm run build --if-present
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit a2236ec

Please sign in to comment.