File tree Expand file tree Collapse file tree 3 files changed +39
-88
lines changed Expand file tree Collapse file tree 3 files changed +39
-88
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Continuous Integration
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-node@v4
12+ with :
13+ node-version : ' 20.x'
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : yarn install --frozen-lockfile
16+ - run : yarn test
17+ - run : yarn build
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version : ' 20.x'
16+ registry-url : ' https://registry.npmjs.org'
17+ - run : yarn install --frozen-lockfile
18+ - run : yarn test
19+ - run : yarn build
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