Skip to content

Commit c96d9bd

Browse files
committed
ci: test whoami check with modified semantic release fork
Ticket: DX-2084
1 parent a1471e0 commit c96d9bd

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
permissions:
2727
id-token: write
28-
contents: read
28+
contents: write
2929
steps:
3030
- uses: actions/checkout@v5
3131
- uses: actions/setup-node@v6
@@ -37,20 +37,9 @@ jobs:
3737
echo "Running npm publish dry-run to test OIDC auth..."
3838
npm publish --dry-run --provenance
3939
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
50-
5140
release:
52-
needs: [test-oidc-publish, prepare-release]
53-
uses: semantic-release-action/typescript/.github/workflows/release.yml@1d40c29e2d500f3bcceeb13f95d26a3a1b571f51
41+
needs: [test-oidc-publish]
42+
uses: tanjeemh/semantic-release-action-typescript/.github/workflows/release.yml@master
5443
secrets:
5544
npm-token: "FAKE_NPM_TOKEN_FOR_SEMANTIC_RELEASE"
5645
with:

0 commit comments

Comments
 (0)