Run "npm ci" and "npm run node" under node 18 then switch to node 24.5 for publish
This commit is contained in:
parent
bb41c36578
commit
826f6d147c
12
.github/workflows/releases.yml
vendored
12
.github/workflows/releases.yml
vendored
@ -105,6 +105,18 @@ jobs:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Set node version
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 18
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Install
|
||||
run: npm ci
|
||||
|
||||
- name: Create machine generated files
|
||||
run: npm run node
|
||||
|
||||
- name: Reset node version ready for publish
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ^24.5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user