diff --git a/.github/workflows/node-4+.yml b/.github/workflows/node-4+.yml index 1d7488771..323c2ad54 100644 --- a/.github/workflows/node-4+.yml +++ b/.github/workflows/node-4+.yml @@ -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: diff --git a/.github/workflows/node-pretest.yml b/.github/workflows/node-pretest.yml index f8db36de5..e25b00e49 100644 --- a/.github/workflows/node-pretest.yml +++ b/.github/workflows/node-pretest.yml @@ -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