Skip to content

Commit 670d9b1

Browse files
authored
fix: update action workflow (#587)
* fix: update action workflow * chore: jest down to v24 to fix ci
1 parent 3381db6 commit 670d9b1

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ jobs:
66
build:
77
runs-on: macOS-latest
88
steps:
9-
- uses: actions/checkout@v1
10-
- name: Use Node.js 12
11-
uses: actions/setup-node@v1
9+
- name: Checkout
10+
uses: actions/checkout@v2.3.4
11+
- name: Setup Node.js environment
12+
uses: actions/setup-node@v2.1.5
1213
with:
13-
node-version: 12.10.0
14+
node-version: '20'
1415
- name: npm install
1516
run: |
1617
npm install

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"devDependencies": {
4949
"@commitlint/cli": "^12.0.0",
5050
"@commitlint/config-angular": "^12.0.0",
51-
"@types/jest": "^26.0.20",
51+
"@types/jest": "^24.0.0",
5252
"@types/node": "^14.14.31",
5353
"@types/react": "^17.0.2",
5454
"@typescript-eslint/eslint-plugin": "^4.15.2",
@@ -64,7 +64,7 @@
6464
"eslint-plugin-prettier": "^3.3.1",
6565
"gh-pages": "^3.1.0",
6666
"husky": "^5.1.1",
67-
"jest": "^26.6.3",
67+
"jest": "^24.0.0",
6868
"jest-canvas-mock": "^2.3.1",
6969
"jest-electron": "^0.1.11",
7070
"lint-md-cli": "^0.1.2",
@@ -74,7 +74,7 @@
7474
"npm-run-all": "^4.1.5",
7575
"prettier": "^2.2.1",
7676
"rimraf": "^3.0.2",
77-
"ts-jest": "^26.5.2",
77+
"ts-jest": "^24.0.2",
7878
"ts-loader": "^8.0.17",
7979
"typescript": "^4.2.2"
8080
},

0 commit comments

Comments
 (0)