Skip to content

Commit ce36551

Browse files
committed
chore: update Node.js version to 24 and enhance npm publish step with provenance
1 parent d274a57 commit ce36551

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- name: Set up Node.js
2626
uses: actions/setup-node@v7
2727
with:
28-
node-version: "20"
28+
node-version: "24"
2929
registry-url: "https://registry.npmjs.org"
30-
cache-dependency-path: package-lock.json
30+
cache-dependency-path: false
3131

3232
- name: Install dependencies
3333
run: npm ci
@@ -41,7 +41,7 @@ jobs:
4141
git config --global user.name "jaystack-ci"
4242
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
4343
npm version ${{ inputs.version_type }} -m "Auto-increment version: %s" --force
44-
npm publish --tag dev
44+
npm publish --tag dev --provenance
4545
4646
- name: Git operations
4747
run: |
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set up Node.js
6565
uses: actions/setup-node@v7
6666
with:
67-
node-version: "20"
67+
node-version: "24"
6868
registry-url: "https://registry.npmjs.org"
6969

7070
- name: Extract package version
@@ -95,7 +95,7 @@ jobs:
9595
- name: Set up Node.js
9696
uses: actions/setup-node@v7
9797
with:
98-
node-version: "20"
98+
node-version: "24"
9999
registry-url: "https://registry.npmjs.org"
100100

101101
- name: Extract package version

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)