diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a41e26a..a58f3bc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -9,7 +9,7 @@ on: env: NODE_VERSION: '20.x' - PNPM_VERSION: '10.x' + PNPM_VERSION: '8.x' # Using a more stable version of pnpm jobs: test-and-build: @@ -19,20 +19,23 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + id: pnpm-install + with: + version: ${{ env.PNPM_VERSION }} + run_install: false + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} cache: 'pnpm' - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: ${{ env.PNPM_VERSION }} - - name: Install dependencies - run: pnpm install + run: pnpm install --no-frozen-lockfile + - name: Build run: pnpm run build