Skip to content

Commit e7392f5

Browse files
committed
ci: move types job to pretest workflow
1 parent 58d17dc commit e7392f5

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/node-4+.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,6 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
types:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v4
17-
- uses: ljharb/actions/node/install@main
18-
name: 'npm install'
19-
with:
20-
skip-ls-check: true
21-
# for some reason we've got to force typescript to install here
22-
# even though the npm script has `typescript@latest`
23-
- run: npm i --force typescript@latest
24-
- run: npm run test-types
25-
2613
matrix:
2714
runs-on: ubuntu-latest
2815
outputs:

.github/workflows/node-pretest.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ jobs:
1818
# skip-ls-check: true
1919
# - run: npm run pretest
2020

21+
types:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: ljharb/actions/node/install@main
26+
name: 'npm install'
27+
with:
28+
skip-ls-check: true
29+
# for some reason we've got to force typescript to install here
30+
# even though the npm script has `typescript@latest`
31+
- run: npm i --force typescript@latest
32+
- run: npm run test-types
33+
2134
posttest:
2235
runs-on: ubuntu-latest
2336

0 commit comments

Comments
 (0)