diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a79912..91112a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,34 +33,23 @@ jobs: with: fetch-depth: 3 - - name: Set NodeJS - uses: actions/setup-node@v4 - with: - node-version: 24 - - name: Install pnpm uses: pnpm/action-setup@v3 with: version: 10 run_install: false - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache + - name: Set NodeJS + uses: actions/setup-node@v5 with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + node-version: 24 + cache: 'pnpm' - name: Run pnpm install dependencies run: pnpm install - run: pnpm --version + - run: node --version - name: Biome Lint Check run: pnpm biome:lint:check