From d2adb5bfad5ab0f5d0985d6bae8bcdc43aea1f15 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Wed, 26 Feb 2025 10:30:12 -0500 Subject: [PATCH] WIP --- .github/workflows/build-and-store-wasm.yml | 4 ++-- .github/workflows/build-apps.yml | 4 ++-- .github/workflows/codemirror-lang-kcl.yml | 2 +- .github/workflows/e2e-tests.yml | 6 +++--- .github/workflows/generate-machine-api-types.yml | 2 +- .github/workflows/publish-apps-release.yml | 2 +- .github/workflows/static-analysis.yml | 12 ++++++------ README.md | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-and-store-wasm.yml b/.github/workflows/build-and-store-wasm.yml index 74bc76dd4..cafa5a589 100644 --- a/.github/workflows/build-and-store-wasm.yml +++ b/.github/workflows/build-and-store-wasm.yml @@ -13,9 +13,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - name: Install dependencies - run: yarn + run: pnpm install - name: Setup Rust uses: dtolnay/rust-toolchain@stable - name: Cache wasm diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml index fc0200633..b740a52d8 100644 --- a/.github/workflows/build-apps.yml +++ b/.github/workflows/build-apps.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install @@ -133,7 +133,7 @@ jobs: uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' # Set this to npm, pnpm or pnpm. + cache: 'pnpm' # Set this to npm, pnpm or pnpm. - name: pnpm install # Windows is picky sometimes and fails on fetch. Step takes about ~30s diff --git a/.github/workflows/codemirror-lang-kcl.yml b/.github/workflows/codemirror-lang-kcl.yml index 05bab0f06..0b728f6c5 100644 --- a/.github/workflows/codemirror-lang-kcl.yml +++ b/.github/workflows/codemirror-lang-kcl.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install working-directory: packages/codemirror-lang-kcl diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index f11800017..1dab18d44 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -58,17 +58,17 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - uses: KittyCAD/action-install-cli@main - name: Install dependencies shell: bash - run: yarn + run: pnpm install - name: Cache Playwright Browsers uses: actions/cache@v4 with: path: | ~/.cache/ms-playwright/ - key: ${{ runner.os }}-playwright-${{ hashFiles('yarn.lock') }} + key: ${{ runner.os }}-playwright-${{ hashFiles('pnpm.lock') }} - name: Install Playwright Browsers shell: bash run: pnpm playwright install --with-deps diff --git a/.github/workflows/generate-machine-api-types.yml b/.github/workflows/generate-machine-api-types.yml index 259a172bc..1660e088d 100644 --- a/.github/workflows/generate-machine-api-types.yml +++ b/.github/workflows/generate-machine-api-types.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - run: pnpm generate:machine-api - run: pnpm fmt diff --git a/.github/workflows/publish-apps-release.yml b/.github/workflows/publish-apps-release.yml index 610316a23..5fafa408a 100644 --- a/.github/workflows/publish-apps-release.yml +++ b/.github/workflows/publish-apps-release.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - name: Find tag workflow id id: tag_workflow_id diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 967c330ca..5acee7b9c 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - run: pnpm fmt-check @@ -35,7 +35,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb with: @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - uses: Swatinem/rust-cache@v2 with: @@ -70,7 +70,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - run: pnpm lint @@ -95,7 +95,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb @@ -124,7 +124,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'yarn' + cache: 'pnpm' - run: pnpm install - uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb diff --git a/README.md b/README.md index e7cb302aa..4c0257277 100644 --- a/README.md +++ b/README.md @@ -347,7 +347,7 @@ However because much of our tests involve clicking in the stream at specific loc If you already haven't, run the following: ``` -yarn +pnpm install pnpm build:wasm pnpm start ```