File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed
Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Pass Tests
2+
3+ on : push
4+
5+ jobs :
6+ tests :
7+ if : false
8+ runs-on : ubuntu-latest
9+ env :
10+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-node@v1
14+ with :
15+ node-version : 14
16+ - name : Install production and development dependencies
17+ id : install
18+ run : |
19+ npm install
20+ - name : Run tests
21+ id : tests
22+ run : |
23+ npm test
24+ - uses : act10ns/slack@v1
25+ with :
26+ status : ${{ job.status }}
27+ steps : ${{ toJson(steps) }}
28+ channel : ' #npm-ci'
29+ if : failure()
Original file line number Diff line number Diff line change 1616 - uses : actions/setup-node@v1
1717 with :
1818 node-version : 14
19- - name : Install dependencies via npm
19+ - name : Install production dependencies via npm
2020 run : |
2121 npm install --only=prod
2222 - uses : act10ns/slack@v1
Original file line number Diff line number Diff line change 2222 "test" : " ./test"
2323 },
2424 "types" : " ./docs/types" ,
25- "scripts" : {},
25+ "scripts" : {
26+ "test" : " tape $(grep -irl --include=\\ *.js \" tape\" ./test)"
27+ },
2628 "homepage" : " https://github.com/stdlib-js/stdlib" ,
2729 "repository" : {
2830 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments