Skip to content

Commit 7faf6c4

Browse files
committed
ci: stop running on Node 16
1 parent 2502a93 commit 7faf6c4

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

Diff for: .github/workflows/ci.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
node:
17-
- 16
1817
- 18
1918
- 20
2019
- 22
@@ -24,8 +23,6 @@ jobs:
2423
- macos-latest
2524
fail-fast: false
2625
runs-on: ${{ matrix.os }}
27-
env:
28-
YARN_IGNORE_NODE: 1
2926
steps:
3027
- uses: actions/checkout@v4
3128

@@ -38,17 +35,14 @@ jobs:
3835
- name: Install Dependencies
3936
run: yarn --immutable
4037

41-
- name: Build and Typecov
42-
run: yarn run-s build typecov
38+
- name: Build, Lint and Test
39+
run: |
40+
yarn build
41+
yarn run-p lint test typecov
4342
env:
4443
PARSER_NO_WATCH: true
4544

46-
- name: Lint and Test
47-
if: ${{ matrix.node != 16}}
48-
run: yarn run-s lint test
49-
5045
- name: Codecov
51-
if: ${{ matrix.node != 16}}
5246
uses: codecov/codecov-action@v5
5347
with:
5448
token: ${{ secrets.CODECOV_TOKEN }}

Diff for: tests/e2e/e2e.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('e2e cases', async () => {
2626
})
2727
}
2828

29-
it('should exec eslint successfully', async () => {
29+
it(`should exec eslint successfully > ${dirName}`, async () => {
3030
const eslintConfig = tryFile('eslint.config.js', false, absoluteDir)
3131
expect(
3232
await exec(
@@ -50,7 +50,7 @@ describe('e2e cases', async () => {
5050
},
5151
},
5252
),
53-
).toMatchSnapshot(dirName)
53+
).toMatchSnapshot()
5454
})
5555
}
5656
})

0 commit comments

Comments
 (0)