From f5b53cde00aad3cc7dd3618a14fbfb9f622f106f Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 14 Apr 2025 00:40:38 -0700 Subject: fix: change CI to use pnpm --- .github/workflows/deploy.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bd990f5..9523a23 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,27 +1,20 @@ -# Simple workflow for deploying static content to GitHub Pages name: Deploy static content to Pages on: - # Runs on pushes targeting the default branch push: branches: ['main'] - - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages permissions: contents: read pages: write id-token: write -# Allow one concurrent deployment concurrency: group: 'pages' cancel-in-progress: true jobs: - # Single deploy job since we're just deploying deploy: environment: name: github-pages @@ -35,14 +28,16 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'npm' + + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies - run: npm ci + run: pnpm install working-directory: site - name: Build - run: npm run build + run: pnpm run build working-directory: site - name: Setup Pages -- cgit v1.2.3