commit eeab2d615c151305bfa853d3e7d10236334ca7fa
parent 3d31ecbc7f11ef7900286370720d56a90087c7a3
Author: finwo <finwo@pm.me>
Date: Tue, 21 Apr 2020 12:51:56 +0200
Add build step during github workflow
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml
@@ -16,6 +16,7 @@ jobs:
with:
node-version: 12
- run: npm ci
+ - run: npm build
- run: npm test
publish-npm:
@@ -28,6 +29,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
+ - run: npm build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -42,6 +44,7 @@ jobs:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
+ - run: npm build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}