diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ff9e4e..316a626 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,18 +9,26 @@ jobs: steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: 9 - run: | - npm install - npm run check:ci + pnpm install + pnpm check:ci spell: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: 9 - run: | - npm install - npm run spell + pnpm install + pnpm spell build: needs: [check, spell] @@ -28,6 +36,10 @@ jobs: steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: 9 - run: | - npm install - npm run build + pnpm install + pnpm build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 72c9908..352bc13 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,9 +11,13 @@ jobs: steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: 9 - run: | - npm install - npm run build + pnpm install + pnpm build - uses: FirebaseExtended/action-hosting-deploy@v0 with: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 06a4d74..9a56aca 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -17,9 +17,13 @@ jobs: steps: - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + with: + version: 9 - run: | - npm install - npm run build + pnpm install + pnpm build - uses: FirebaseExtended/action-hosting-deploy@v0 with: @@ -101,9 +105,12 @@ jobs: uses: actions/checkout@v4 - name: Install and Build - run: | - npm install - npm run build + uses: pnpm/action-setup@v4 + with: + version: 9 + - run: | + pnpm install + pnpm build - name: Upload artifact uses: actions/upload-pages-artifact@v3