File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 permissions :
1313 contents : write
14- if : " github.event_name == 'push' && github.ref == 'refs/heads/main' && !startsWith(github.event.head_commit.message, 'chore')"
14+ id-token : write
15+ if : |
16+ (github.event_name == 'push' &&
17+ github.ref == 'refs/heads/main' &&
18+ !startsWith(github.event.head_commit.message, 'chore'))
19+ ||
20+ github.event_name == 'workflow_dispatch'
1521 steps :
1622 - name : Checkout code
1723 uses : actions/checkout@v6
2228 - name : Setup Node.js
2329 uses : actions/setup-node@v6
2430 with :
25- node-version : ' 22 '
31+ node-version : ' 24 '
2632
2733 - name : Install dependencies
2834 run : npm ci
3743 GIT_AUTHOR_EMAIL : secrets.automation.dev@il.ibm.com
3844 GIT_COMMITTER_NAME : secrets.automation.dev
3945 GIT_COMMITTER_EMAIL : secrets.automation.dev@il.ibm.com
40- NPM_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
41- run : npx semantic-release
46+ # NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
47+ run : npx semantic-release
48+
49+ - name : Test OIDC publish (dry-run)
50+ if : github.event_name == 'workflow_dispatch'
51+ run : npm publish --dry-run --verbose
You can’t perform that action at this time.
0 commit comments