Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
separate npm install and npm run build into different steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yunair committed Jun 17, 2020
1 parent c5caba3 commit df457a4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install, build and echo package
run: |
npm install
npm run build --if-present
echo publish package
- run: npm install
- run: npm run build --if-present

publish-npm:
needs: build
Expand Down

0 comments on commit df457a4

Please sign in to comment.