File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed
Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' v*'
8+ pull_request : {}
9+
10+ env :
11+ PNPM_VERSION : 6.19.0
12+
13+ jobs :
14+ lint :
15+ name : Linting
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v2
19+ - uses : pnpm/action-setup@v2.0.1
20+ with :
21+ version : ${{ env.PNPM_VERSION }}
22+ - uses : actions/setup-node@v2
23+ with :
24+ node-version : 14.x
25+ cache : pnpm
26+ - run : pnpm install
27+ - run : pnpm run lint
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ release :
10+ name : Release
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - uses : actions/setup-node@v2
16+ with :
17+ node-version : 14.x
18+ registry-url : ' https://registry.npmjs.org'
19+
20+ - run : npm publish
21+ env :
22+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments