Skip to content

Commit

Permalink
ci: move types job to pretest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Nov 19, 2024
1 parent b000b19 commit 5fc6cd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/node-4+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ permissions:
contents: read

jobs:
types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ljharb/actions/node/install@main
name: 'npm install'
with:
skip-ls-check: true
# for some reason we've got to force typescript to install here
# even though the npm script has `typescript@latest`
- run: npm i --force typescript@latest
- run: npm run test-types

matrix:
runs-on: ubuntu-latest
outputs:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/node-pretest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ jobs:
# skip-ls-check: true
# - run: npm run pretest

types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ljharb/actions/node/install@main
name: 'npm install'
with:
skip-ls-check: true
# for some reason we've got to force typescript to install here
# even though the npm script has `typescript@latest`
- run: npm i --force typescript@latest
- run: npm run test-types

posttest:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 5fc6cd3

Please sign in to comment.