File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
Expand file tree Collapse file tree 2 files changed +27
-2
lines changed 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 develop
5+
6+ on :
7+ push :
8+ branches : [ develop ]
9+ pull_request :
10+ branches : [ develop ]
11+
12+ jobs :
13+ test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : actions/setup-node@v1
18+ with :
19+ node-version : 12
20+ registry-url : https://registry.npmjs.org/
21+ - run : npm ci
22+ - run : npm run build
23+ - run : npm run test
Original file line number Diff line number Diff line change 11# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
22# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
33
4- name : Tests
4+ name : Test master
55
66on :
7+ push :
8+ branches : [ master ]
79 pull_request :
8- branches : [ develop, master ]
10+ branches : [ master ]
911
1012jobs :
1113 test :
You can’t perform that action at this time.
0 commit comments