diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 60e95cd..4a3a1e5 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -29,6 +29,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + + - name: Install pnpm + uses: pnpm/action-setup@v4 + - name: Set node versions uses: actions/setup-node@v4 with: @@ -36,12 +42,6 @@ jobs: registry-url: https://registry.npmjs.org/ cache: 'pnpm' - - name: Enable Corepack - run: corepack enable - - - name: Install pnpm - uses: pnpm/action-setup@v4 - - name: Install deps run: pnpm install --frozen-lockfile