Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
add an action to run test job after build job and another action to download and use artifact produced by build job
  • Loading branch information
prakash-amit authored Apr 21, 2021
1 parent 566014f commit 62e07f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
path: public/

test:

needs: build
runs-on: ubuntu-latest

strategy:
Expand All @@ -29,6 +29,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@main
with:
name: webpack artifacts
path: public
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 62e07f6

Please sign in to comment.