enable corepack first

This commit is contained in:
Kagami Sascha Rosylight 2023-03-16 21:14:55 +01:00
parent ce5a9630ca
commit 6e6a5222cd
2 changed files with 4 additions and 4 deletions

View file

@ -11,14 +11,14 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.3.0 uses: actions/checkout@v3.3.0
- run: corepack enable
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3.6.0 uses: actions/setup-node@v3.6.0
with: with:
node-version: 18.x node-version: 18.x
cache: 'pnpm' cache: 'pnpm'
- run: corepack enable
- name: Install dependencies - name: Install dependencies
run: pnpm i --frozen-lockfile run: pnpm i --frozen-lockfile

View file

@ -28,14 +28,14 @@ jobs:
version: 7 version: 7
run_install: false run_install: false
- run: corepack enable
- name: Setup Node.js ${{ matrix.node-version }} - name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.6.0 uses: actions/setup-node@v3.6.0
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'pnpm' cache: 'pnpm'
- run: corepack enable
- name: Install dependencies - name: Install dependencies
run: pnpm i --frozen-lockfile run: pnpm i --frozen-lockfile