Add corepack enable everywhere

This commit is contained in:
Pierre Jacquier
2025-02-25 13:58:42 -05:00
parent dcb07123c6
commit f6f32ba5f3
8 changed files with 19 additions and 0 deletions

View File

@ -14,6 +14,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- name: Install dependencies
run: yarn
- name: Setup Rust

View File

@ -30,6 +30,8 @@ jobs:
with:
node-version-file: '.nvmrc'
- run: corepack enable
- run: yarn install
- name: Setup Rust
@ -127,6 +129,8 @@ jobs:
with:
node-version-file: '.nvmrc'
- run: corepack enable
- name: yarn install
# Windows is picky sometimes and fails on fetch. Step takes about ~30s
uses: nick-fields/retry@v3.0.1

View File

@ -21,6 +21,8 @@ jobs:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
working-directory: packages/codemirror-lang-kcl

View File

@ -58,6 +58,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- uses: KittyCAD/action-install-cli@main
- name: Install dependencies
shell: bash

View File

@ -22,6 +22,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- run: yarn generate:machine-api
- run: yarn fmt

View File

@ -21,6 +21,8 @@ jobs:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- name: Find tag workflow id
id: tag_workflow_id
env:

View File

@ -24,6 +24,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- run: yarn fmt-check
@ -36,6 +37,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb
with:
@ -51,6 +53,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- uses: Swatinem/rust-cache@v2
with:
@ -71,6 +74,7 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- run: yarn lint
@ -97,6 +101,7 @@ jobs:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb
with:
@ -126,6 +131,7 @@ jobs:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: corepack enable
- run: yarn install
- uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb
with:

View File

@ -27,6 +27,8 @@ jobs:
with:
node-version-file: '.nvmrc'
- run: corepack enable
- run: yarn install
- name: Push tag