Skip to content

Commit c09cbed

Browse files
committed
noderino
1 parent b7c6079 commit c09cbed

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

.github/workflows/pr-from-issue.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ jobs:
1313
fetch-depth: 0
1414
token: ${{ secrets.GITHUB_TOKEN }}
1515

16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: "20"
19-
2016
- uses: stefanbuck/github-issue-parser@v3
2117
id: issue-parser
2218
with:
@@ -26,10 +22,13 @@ jobs:
2622
id: local-mods
2723
run: echo "mods_output=$(< ./mods.json sed ':a;N;$!ba;s/\n/ /g')" >> $GITHUB_ENV
2824

29-
- name: Build
30-
run: |
31-
cd scripts
32-
npm run build
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: "22"
28+
cache: "npm"
29+
- run: cd scripts
30+
- run: npm ci
31+
- run: npm run build
3332

3433
- id: modify-mod-list
3534
uses: ./actions/modify-mod-list

.github/workflows/update-releases.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ jobs:
3232

3333
- uses: actions/setup-node@v4
3434
with:
35-
node-version: "20"
36-
37-
- name: Build
38-
run: |
39-
cd scripts
40-
npm run build
35+
node-version: "22"
36+
cache: "npm"
37+
- run: cd scripts
38+
- run: npm ci
39+
- run: npm run build
4140

4241
- name: Checkout database repo
4342
uses: actions/checkout@v4

0 commit comments

Comments
 (0)