From 6e6a5222cd16b9acb240f722193b5131aae36435 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 16 Mar 2023 21:14:55 +0100 Subject: [PATCH] enable corepack first --- .github/workflows/api.yml | 4 ++-- .github/workflows/test-misskey-js.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index eefa49bf8..75c547f11 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -11,14 +11,14 @@ jobs: - name: Checkout uses: actions/checkout@v3.3.0 + - run: corepack enable + - name: Setup Node.js uses: actions/setup-node@v3.6.0 with: node-version: 18.x cache: 'pnpm' - - run: corepack enable - - name: Install dependencies run: pnpm i --frozen-lockfile diff --git a/.github/workflows/test-misskey-js.yml b/.github/workflows/test-misskey-js.yml index a0d35fa33..3653de9c7 100644 --- a/.github/workflows/test-misskey-js.yml +++ b/.github/workflows/test-misskey-js.yml @@ -28,14 +28,14 @@ jobs: version: 7 run_install: false + - run: corepack enable + - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3.6.0 with: node-version: ${{ matrix.node-version }} cache: 'pnpm' - - run: corepack enable - - name: Install dependencies run: pnpm i --frozen-lockfile