diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index b1a38cce..b4ef9e47 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -75,6 +75,11 @@ jobs: with: node-version: 20 + - name: Register ts-node + shell: bash + run: | + echo 'NODE_OPTIONS="--loader ts-node/esm"' >> $GITHUB_ENV + - uses: pnpm/action-setup@v2 with: version: 8 @@ -98,11 +103,6 @@ jobs: - name: Install dependencies run: pnpm install - - name: Register ts-node - shell: bash - run: | - echo 'NODE_OPTIONS="--loader ts-node/esm"' >> $GITHUB_ENV - - name: Lint run: "pnpm lint:js"