Skip to content

Commit a1471e0

Browse files
committed
ci: try using new semantic-release/npm v13.1.1
Ticket: DX-2084
1 parent e0ef122 commit a1471e0

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/release.yaml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,29 @@ jobs:
2727
id-token: write
2828
contents: read
2929
steps:
30-
- uses: actions/checkout@v4
31-
- uses: actions/setup-node@v4
30+
- uses: actions/checkout@v5
31+
- uses: actions/setup-node@v6
3232
with:
3333
node-version: 20
3434
registry-url: https://registry.npmjs.org/
3535
- name: Verify OIDC authentication with npm
3636
run: |
3737
echo "Running npm publish dry-run to test OIDC auth..."
3838
npm publish --dry-run --provenance
39+
40+
prepare-release:
41+
runs-on: ubuntu-latest
42+
steps:
43+
- uses: actions/checkout@v5
44+
- uses: actions/setup-node@v6
45+
with:
46+
node-version: 20
47+
registry-url: https://registry.npmjs.org/
48+
- name: Instal semantic-release/[email protected]
49+
run: npm install --save-dev @semantic-release/[email protected] semantic-release
3950

4051
release:
41-
needs: [test-oidc-publish]
52+
needs: [test-oidc-publish, prepare-release]
4253
uses: semantic-release-action/typescript/.github/workflows/release.yml@1d40c29e2d500f3bcceeb13f95d26a3a1b571f51
4354
secrets:
4455
npm-token: "FAKE_NPM_TOKEN_FOR_SEMANTIC_RELEASE"

0 commit comments

Comments
 (0)