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