File tree Expand file tree Collapse file tree 2 files changed +24
-32
lines changed
Expand file tree Collapse file tree 2 files changed +24
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : Release-Full
22
33on :
4+ workflow_run :
5+ workflows : [ "eslint" ]
6+ branches : [ master ]
7+ types :
8+ - completed
49 release :
510 types :
611 - published
712
13+ permissions :
14+ id-token : write # Required for OIDC
15+ contents : read
16+
817jobs :
9- publish :
18+ publish-beta :
1019 runs-on : ubuntu-latest
1120 steps :
1221 - uses : actions/checkout@v5
1827 - run : npm ci
1928 - run : npm run build
2029 # - run: npm version prerelease --no-git-tag-version --preid ${{ github.ref_name }}-${{ github.sha }}
21- - uses : JS-DevTools/npm-publish@v4
30+ - run : npm publish --tag=beta
31+ publish-tag :
32+ runs-on : ubuntu-latest
33+ if : github.event_name == 'release'
34+ steps :
35+ - uses : actions/checkout@v5
36+ with :
37+ submodules : recursive
38+ - uses : actions/setup-node@v6
2239 with :
23- access : public
24- token : ${{ secrets.NPM_TOKEN }}
25- tag : latest
40+ node-version : 24
41+ - run : npm ci
42+ - run : npm run build
43+ # - run: npm version prerelease --no-git-tag-version --preid ${{ github.ref_name }}-${{ github.sha }}
44+ - run : npm publish
You can’t perform that action at this time.
0 commit comments