enable corepack first
This commit is contained in:
parent
ce5a9630ca
commit
6e6a5222cd
2 changed files with 4 additions and 4 deletions
4
.github/workflows/api.yml
vendored
4
.github/workflows/api.yml
vendored
|
@ -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
|
||||
|
||||
|
|
4
.github/workflows/test-misskey-js.yml
vendored
4
.github/workflows/test-misskey-js.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue