From 0854179a97b2fd986e7e34e37d38dae29ba4850b Mon Sep 17 00:00:00 2001 From: newcat <1523157+newcat@users.noreply.github.com> Date: Sat, 30 Nov 2024 18:51:38 +0100 Subject: [PATCH] change pnpm installation method --- .github/workflows/gh-pages.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6b2c12f..332f2bd 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,15 +24,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 22 cache: "pnpm" - - name: Setup PNPM - run: | - corepack enable - corepack install - name: Install dependencies run: pnpm install - name: Build WASM @@ -41,11 +41,11 @@ jobs: cargo install wasm-pack wasm-pack build --target web - name: Build - run: yarn run build + run: pnpm run build env: BASE_URL: "/LedMusicStudio/" - name: Lint - run: yarn run lint + run: pnpm run lint - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact