diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 5c2e174..97ff431 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -24,34 +24,13 @@ jobs: with: persist-credentials: false - - name: Use Node.js 24.x - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #v7.0.0 - with: - node-version: 24.x - package-manager-cache: false - - - name: Install pnpm - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 #v6.0.9 + - name: Install pnpm and Node + uses: pnpm/setup@v1 with: version: 11 - cache: false - - - name: Get pnpm cache directory - id: cache_dir - shell: bash - run: | - { - echo 'cache_dir<> "$GITHUB_OUTPUT" - - - name: Restore pnpm cache - id: restore_cache - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0 - with: - key: ${{ format('node-cache-{0}-{1}-pnpm-{2}', runner.os, runner.arch, hashFiles('pnpm-lock.yaml')) }} - path: ${{ steps.cache_dir.outputs.cache_dir }} + runtime: node@24 + cache: true + install: false - run: pnpm run ci shell: bash