File tree Expand file tree Collapse file tree 2 files changed +24
-14
lines changed
Expand file tree Collapse file tree 2 files changed +24
-14
lines changed Original file line number Diff line number Diff line change 2222 name : lib
2323 path : lib
2424
25- test :
26- needs : build
27- runs-on : ubuntu-latest
28- steps :
29- - uses : actions/checkout@v2
30- - uses : actions/setup-node@v1
31- with :
32- node-version : 12
33- registry-url : https://registry.npmjs.org/
34- - uses : actions/download-artifact@v1
35- with :
36- name : lib
37- - run : npm run test
38-
3925 publish-npm :
4026 needs : test
4127 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3+
4+ name : Test library
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ test :
14+ needs : build
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v2
18+ - uses : actions/setup-node@v1
19+ with :
20+ node-version : 12
21+ registry-url : https://registry.npmjs.org/
22+ - run : npm ci
23+ - run : npm run build
24+ - run : npm run test
You can’t perform that action at this time.
0 commit comments