aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-04-14 00:40:38 -0700
committerPinapelz <yukais@pinapelz.com>2025-04-14 00:44:46 -0700
commitf5b53cde00aad3cc7dd3618a14fbfb9f622f106f (patch)
tree2de45003d490b73c25942e1f0d616856b094cbd4 /.github
parent35ba4ecbb6df86fdff429742e1706ff42b3eb419 (diff)
fix: change CI to use pnpm
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/deploy.yml15
1 files changed, 5 insertions, 10 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage