Skip to content

Commit 97c1f4f

Browse files
authored
Merge pull request #657 from vintasoftware/feat/node-20
Upgrade to Node 20
2 parents a7033cc + 1ae7d32 commit 97c1f4f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
name: Generate stable boilerplate build
1212
strategy:
1313
matrix:
14-
python-version: [3.8]
15-
node-version: [14.5]
14+
python-version: [3.12]
15+
node-version: [20.13]
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout code

.github/workflows/shared-build/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ runs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: "18.20"
20+
node-version: "20.13"
2121
- name: Cache node modules
22-
uses: actions/cache@v3
22+
uses: actions/cache@v4
2323
env:
2424
cache-name: node-modules-cache
2525
with:
@@ -30,7 +30,7 @@ runs:
3030
build-${{ env.cache-name }}-${{ steps.vars.outputs.branch }}
3131
build-${{ env.cache-name }}
3232
- name: Cache pip
33-
uses: actions/cache@v3
33+
uses: actions/cache@v4
3434
env:
3535
cache-name: pip-cache
3636
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "{{project_name}} frontend.",
66
"engines": {
7-
"node": ">=18 <21"
7+
"node": ">=20 <21"
88
},
99
"browserslist": "> 0.25%, not dead",
1010
"main": "frontend/js/index.tsx",

proj_main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@ jobs:
77
strategy:
88
matrix:
99
python: [3.12]
10-
node: [18.20]
10+
node: [20.13]
1111
env:
1212
DATABASE_URL: "sqlite:///"
1313
REDIS_URL: "redis://"
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
- name: Store branch and latest SHA
1919
run: |
2020
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
2121
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
2222
id: git
2323
- name: Setup Python ${% templatetag openvariable %} matrix.python {% templatetag closevariable %}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${% templatetag openvariable %} matrix.python {% templatetag closevariable %}
2727
- name: Setup Node ${% templatetag openvariable %} matrix.node {% templatetag closevariable %}
28-
uses: actions/setup-node@v2
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: ${% templatetag openvariable %} matrix.node {% templatetag closevariable %}
3131
- name: Cache node modules
32-
uses: actions/cache@v2
32+
uses: actions/cache@v4
3333
env:
3434
cache_name: node-modules-cache
3535
with:
@@ -40,7 +40,7 @@ jobs:
4040
build-${% templatetag openvariable%} env.cache_name {% templatetag closevariable %}-${% templatetag openvariable%} steps.git.outputs.branch {% templatetag closevariable %}
4141
build-${% templatetag openvariable%} env.cache_name {% templatetag closevariable %}
4242
- name: Cache pip
43-
uses: actions/cache@v2
43+
uses: actions/cache@v4
4444
env:
4545
cache_name: pip-cache
4646
with:

0 commit comments

Comments
 (0)