From 14815bd6b1ee61dcd4a28ccebbdb3d91765ec08c Mon Sep 17 00:00:00 2001 From: Irshad Ahmad Date: Tue, 19 Dec 2023 21:31:55 +0530 Subject: [PATCH] Update pr-checks.yml --- .github/workflows/pr-checks.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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"