diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd20904c9..f0540d417 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,30 +22,14 @@ jobs: node -v npm -v - - name: Capture node path - run: echo "NODE_BIN=$(dirname \"$(node -p \"process.execPath\")\")" >> "$GITHUB_ENV" - - - name: Enable corepack and pin pnpm - run: | - corepack enable - corepack prepare pnpm@10.23.0 --activate - pnpm -v - - name: Install dependencies - env: - CI: true - run: | - export PATH="$NODE_BIN:$PATH" - which node - node -v - pnpm -v - pnpm install --ignore-scripts=false --config.engine-strict=false --config.enable-pre-post-scripts=true || pnpm install --ignore-scripts=false --config.engine-strict=false --config.enable-pre-post-scripts=true + run: npm ci - name: Lint - run: pnpm lint + run: npm run lint - name: Test - run: pnpm test + run: npm test - name: Build - run: pnpm build + run: npm run build