File tree Expand file tree Collapse file tree 4 files changed +2458
-39
lines changed
Expand file tree Collapse file tree 4 files changed +2458
-39
lines changed Original file line number Diff line number Diff line change 2424 uses : actions/setup-node@v3
2525 with :
2626 node-version : ${{ matrix.node-version }}
27- - run : yarn install
27+ - run : yarn install --immutable
2828 - run : yarn run lint
2929 - run : yarn run build
3030 - run : yarn test
31+
32+ release :
33+ if : ${{ github.ref == 'refs/heads/master' }}
34+ needs : [ build ]
35+ runs-on : ubuntu-latest
36+ steps :
37+ - uses : actions/checkout@v3
38+ - uses : actions/setup-node@v3
39+ with :
40+ node-version : 18.x
41+ - run : yarn install --immutable
42+ - run : yarn run build
43+ - run : yarn test
44+ - name : Release
45+ env :
46+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
47+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
48+ run : npx semantic-release --dry-run
Original file line number Diff line number Diff line change 2121 node-version : 18.x
2222 - name : Commit latest release version
2323 run : |
24- yarn install
24+ yarn install --immutable
2525
2626 pth=".config.${{ matrix.dependency }}.version"
2727
Original file line number Diff line number Diff line change 1414 "@octokit/rest" : " ^19.0.7" ,
1515 "@types/emscripten" : " ^1.39.6" ,
1616 "@types/node" : " ^18.15.11" ,
17- "cross-fetch" : " ^3.1.5" ,
1817 "@typescript-eslint/eslint-plugin" : " ^5.57.1" ,
1918 "@typescript-eslint/parser" : " ^5.57.1" ,
19+ "cross-fetch" : " ^3.1.5" ,
2020 "eslint" : " ^8.38.0" ,
2121 "http-server" : " ^14.1.1" ,
2222 "mocha" : " ^10.2.0" ,
2323 "node-static" : " ^0.7.11" ,
2424 "npm-run-all" : " ^4.1.5" ,
25- "ts-node" : " ^10.9.1" ,
2625 "puppeteer" : " ^19.8.5" ,
26+ "semantic-release" : " ^19" ,
27+ "ts-node" : " ^10.9.1" ,
2728 "typescript" : " ^5.0.4"
2829 },
2930 "files" : [
You can’t perform that action at this time.
0 commit comments