Skip to content

Commit 8fe4de7

Browse files
committed
Update CI
1 parent a47c8a8 commit 8fe4de7

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

.github/workflows/node.js.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v4
15-
- name: Use Node.js 18
16-
uses: actions/setup-node@v4
17-
with:
18-
node-version: '18'
19-
cache: 'pnpm'
20-
15+
2116
- name: Install pnpm
2217
uses: pnpm/action-setup@v4
2318
with:
24-
version: 9
19+
version: 10
20+
run_install: false
21+
22+
- name: Use Node.js 22
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '22'
26+
cache: 'pnpm'
27+
cache-dependency-path: 'pnpm-lock.yaml'
2528

2629
- name: Install Dependencies
2730
run: pnpm install --frozen-lockfile
@@ -40,16 +43,6 @@ jobs:
4043

4144
steps:
4245
- uses: actions/checkout@v4
43-
- name: Use Node.js ${{ matrix.node-version }}
44-
uses: actions/setup-node@v4
45-
with:
46-
node-version: '18'
47-
cache: 'pnpm'
48-
49-
- name: Install pnpm
50-
uses: pnpm/action-setup@v4
51-
with:
52-
version: 9
5346

5447
- name: Build docker image
5548
run: docker build -t typescript-project .

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type {Config} from '@jest/types';
1+
import type {Config} from 'jest';
22

3-
const config: Config.InitialOptions = {
3+
const config: Config = {
44
preset: "ts-jest",
55
testRegex: "\\.(test|e2e)\\.ts$",
66
moduleFileExtensions: ["ts", "js", "json"],

0 commit comments

Comments
 (0)