diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 31174d40..5df01080 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -21,8 +21,7 @@ jobs: with: node-version: 18 - - name: Enable corepack - run: corepack enable + - uses: pnpm/action-setup@v2 - name: Install Dependencies run: pnpm install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28befe39..0f11f6aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,8 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 - - name: Enable corepack - run: corepack enable + - uses: pnpm/action-setup@v2 - name: Install run: pnpm install - name: Lint @@ -36,8 +35,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: Enable corepack - run: corepack enable + - uses: pnpm/action-setup@v2 - name: Install run: pnpm install - name: Test @@ -61,8 +59,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - name: Enable corepack - run: corepack enable + - uses: pnpm/action-setup@v2 - name: Install run: pnpm add eslint@${{ matrix.eslint }} - name: Test