File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 - uses : actions/checkout@v4
1111 with :
1212 token : ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
13+ submodules : recursive
1314 - name : Conventional Changelog Action
1415 id : changelog
1516 uses : TriPSs/conventional-changelog-action@d360fad3a42feca6462f72c97c165d60a02d4bf2
Original file line number Diff line number Diff line change 1010 description : tag that needs to publish
1111 type : string
1212 required : true
13+
1314jobs :
1415 npm :
15- uses : oclif/github-workflows/.github/workflows/npmPublish.yml@main
16- with :
17- tag : latest
18- githubTag : ${{ github.event.release.tag_name || inputs.tag }}
19- secrets : inherit
16+ runs-on : ubuntu-latest
17+ permissions :
18+ contents : read
19+ id-token : write # required for npm OIDC trusted publishing
20+ steps :
21+ - uses : actions/checkout@v4
22+ with :
23+ ref : ${{ github.event.release.tag_name || inputs.tag }}
24+ submodules : recursive
25+ - uses : actions/setup-node@v4
26+ with :
27+ node-version : lts/*
28+ cache : yarn
29+ registry-url : https://registry.npmjs.org
30+ - run : yarn install --network-timeout 600000
31+ - run : yarn build
32+ - run : npm publish --access public
You can’t perform that action at this time.
0 commit comments