File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : main
3+
4+ on :
5+ - push
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v1
13+ with :
14+ node-version : ' 14.x'
15+ registry-url : ' https://registry.npmjs.org'
16+ - run : npm ci
17+ - name : Test noop IO
18+ run : npm test
19+ env :
20+ CURATOR_IO : noop
21+ CURATOR_PKG : noop
22+ - name : Test linux IO
23+ run : npm test
24+ env :
25+ CURATOR_IO : linux
26+ CURATOR_PKG : noop
Original file line number Diff line number Diff line change 1+ ---
2+ name : release
3+
4+ on :
5+ push :
6+ tags :
7+ - ' v*'
8+
9+ jobs :
10+ publish :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : actions/setup-node@v1
15+ with :
16+ node-version : ' 14.x'
17+ registry-url : ' https://registry.npmjs.org'
18+ - run : npm publish --access public
19+ env :
20+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments