Skip to content

Commit 8be4e07

Browse files
committed
split out lint (because it needs newer node)
1 parent 4ea7c5e commit 8be4e07

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,25 @@ on:
77
branches: [ master ]
88

99
jobs:
10-
build:
10+
lint:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: pnpm/action-setup@v2
16+
name: Install pnpm
17+
with:
18+
version: 8
19+
run_install: false
20+
- name: Use Node.js 20
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 20
24+
cache: pnpm
25+
- run: pnpm install
26+
- run: pnpm lint
1127

28+
build:
1229
runs-on: ubuntu-latest
1330

1431
strategy:

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"scripts": {
2525
"changelog": "lerna-changelog",
2626
"lint": "eslint .",
27-
"test": "npm-run-all lint test:jest",
28-
"test:jest": "jest"
27+
"test": "jest"
2928
},
3029
"jest": {
3130
"testMatch": [
@@ -49,7 +48,6 @@
4948
"globals": "^15.0.0",
5049
"jest": "^29.7.0",
5150
"lerna-changelog": "^2.2.0",
52-
"npm-run-all": "^4.1.5",
5351
"prettier": "^3.2.5",
5452
"release-it": "^17.1.1"
5553
},

0 commit comments

Comments
 (0)