Skip to content

Commit e89a2a1

Browse files
committed
fix: adding semantic release job back
1 parent bde6914 commit e89a2a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ permissions:
44
contents: write
55
issues: write
66
pull-requests: write
7-
id-token: write
87

98
on:
109
push:
@@ -54,6 +53,9 @@ jobs:
5453

5554
release:
5655
needs: build
56+
permissions:
57+
contents: write
58+
id-token: write
5759
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
5860
runs-on: ubuntu-latest
5961
timeout-minutes: 10
@@ -66,13 +68,11 @@ jobs:
6668
- name: Setup Node.js
6769
uses: actions/setup-node@v4
6870
with:
69-
node-version: "20.x"
70-
registry-url: "https://registry.npmjs.org"
71-
cache: 'npm'
71+
node-version: "lts/*"
7272
- name: Install dependencies
7373
run: npm ci --ignore-scripts
7474
- name: Semantic Release
7575
run: npx semantic-release
7676
env:
7777
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
78+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)