diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index c32d05edc..6122e77de 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -24,6 +24,17 @@ jobs: steps: - uses: actions/checkout@v5 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'npm' + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.11 + - name: Install dependencies run: | # Use the system Bash shell to ensure we can run commands like `npm install` @@ -31,11 +42,6 @@ jobs: npm config set script-shell bash npm install - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - name: Verify compiled JS up to date run: .github/workflows/script/check-js.sh