diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 986f537..31b8dd0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,9 @@ name: 'Test' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: pull_request: branches: @@ -13,15 +17,13 @@ jobs: steps: - uses: actions/checkout@v6 - uses: pnpm/action-setup@v4 - with: - version: 8 - name: Use Node.js uses: actions/setup-node@v6 with: node-version-file: '.nvmrc' cache: 'pnpm' - name: Install dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Check with Prettier run: pnpm run format:check - name: Check with Astro diff --git a/package.json b/package.json index 11afce8..6d01381 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "type": "module", "version": "0.0.1", "private": true, + "packageManager": "pnpm@10.19.0", "engines": { "node": "24.19.0" },