File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 99 build :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v1
12+ - uses : actions/checkout@v3
1313 - uses : actions/setup-node@v3
1414 with :
1515 node-version : 18
@@ -22,14 +22,19 @@ jobs:
2222 needs : build
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/checkout@v1
25+ - uses : actions/checkout@v3
2626 - uses : actions/setup-node@v3
2727 with :
2828 node-version : 18
2929 registry-url : https://registry.npmjs.org/
30- - run : yarn install --immutable
31- - run : yarn build
32- - run : npm publish --access public
30+ - name : Install dependencies
31+ run : yarn install --immutable
32+ - name : Build
33+ run : yarn build
34+ - name : Release
3335 env :
34- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
38+ run : |
39+ yarn dlx semantic-release
3540
Original file line number Diff line number Diff line change 11{
22 "name" : " @openapi-typescript-infra/plop" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "description" : " Project generator for @openapi-typescript-infra services" ,
55 "type" : " module" ,
66 "exports" : " ./build/index.js" ,
You can’t perform that action at this time.
0 commit comments