Skip to content

Commit bd32412

Browse files
committed
update actions to node v22
1 parent e7d1260 commit bd32412

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

.github/workflows/client-tests.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,30 @@ name: Client tests
33

44
on:
55
push:
6-
branches: [ develop, main ]
6+
branches: [develop, main]
77
pull_request:
8-
branches: [ develop, main ]
8+
branches: [develop, main]
99

1010
jobs:
1111
build:
12-
1312
runs-on: ubuntu-latest
1413

1514
strategy:
1615
matrix:
17-
node-version: [16.x]
16+
node-version: [22.x]
1817
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1918
# Note that this version should stay the same as the version on Heroku!
2019

2120
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v2
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
cache: 'npm'
28-
- name: Install dependencies
29-
run: npm ci
30-
working-directory: client
31-
- name: Run tests
32-
run: npm test
33-
working-directory: client
21+
- uses: actions/checkout@v2
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v2
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
cache: "npm"
27+
- name: Install dependencies
28+
run: npm ci
29+
working-directory: client
30+
- name: Run tests
31+
run: npm test
32+
working-directory: client

.github/workflows/server-code-style-check.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,28 @@ name: Server Code style (prettier, lint)
33

44
on:
55
push:
6-
branches: [ develop, main ]
6+
branches: [develop, main]
77
pull_request:
8-
branches: [ develop, main ]
8+
branches: [develop, main]
99

1010
jobs:
1111
build:
12-
1312
runs-on: ubuntu-latest
1413

1514
strategy:
1615
matrix:
17-
node-version: [16.x]
16+
node-version: [22.x]
1817
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1918
# Note: keep this the same as the version on Heroku!
2019

2120
steps:
22-
- uses: actions/checkout@v2
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v2
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
cache: 'npm'
28-
- run: npm ci
29-
working-directory: server
30-
- run: npm run code-style-check
31-
working-directory: server
21+
- uses: actions/checkout@v2
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v2
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
cache: "npm"
27+
- run: npm ci
28+
working-directory: server
29+
- run: npm run code-style-check
30+
working-directory: server

0 commit comments

Comments
 (0)