mirror of
https://github.com/istefox/obsidian-bookmarker.git
synced 2026-07-22 07:47:38 +00:00
ci(release): bump actions to Node 24 runtime versions (#48)
Update checkout@v4 to v5, setup-node@v4 to v5, and attest-build-provenance@v1 to v2 so the bundled JS actions run on Node 24 natively. Drop the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 env workaround, no longer needed once the actions target Node 24.
This commit is contained in:
parent
6f65233351
commit
50a3d2d039
1 changed files with 3 additions and 7 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -13,19 +13,15 @@ permissions:
|
|||
id-token: write
|
||||
attestations: write
|
||||
|
||||
env:
|
||||
# Run the bundled JS actions on Node 24; Node 20 is being removed from the runners.
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
|
|
@ -37,7 +33,7 @@ jobs:
|
|||
run: npm run build
|
||||
|
||||
- name: Attest build provenance
|
||||
uses: actions/attest-build-provenance@v1
|
||||
uses: actions/attest-build-provenance@v2
|
||||
with:
|
||||
subject-path: |
|
||||
main.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue