Skip to content

Commit e7d1260

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

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,28 @@ name: Client 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: client
30-
- run: npm run code-style-check
31-
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+
- run: npm ci
28+
working-directory: client
29+
- run: npm run code-style-check
30+
working-directory: client

.github/workflows/server-tests.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,29 @@ name: Server 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

2019
steps:
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: server
30-
- name: Run tests
31-
run: npm test
32-
working-directory: server
20+
- uses: actions/checkout@v2
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v2
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: "npm"
26+
- name: Install dependencies
27+
run: npm ci
28+
working-directory: server
29+
- name: Run tests
30+
run: npm test
31+
working-directory: server

0 commit comments

Comments
 (0)