Switch to pnpm
Some checks failed
Audit / Audit (push) Failing after 9s
Push / Lint (push) Failing after 8s
Push / Build (push) Failing after 8s

TBH I don't really care between pnpm and yarn, but the new runner image only has pnpm so here I go
This commit is contained in:
Michael Bradley 2025-02-23 07:55:27 -05:00
parent 6d49de0421
commit 50ff732413
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8
7 changed files with 3030 additions and 2311 deletions

View file

@ -17,4 +17,4 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
- name: Audit
run: yarn audit
run: pnpm audit

View file

@ -13,13 +13,13 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Check code formatting
run: yarn lint:prettier
run: pnpm lint:prettier
- name: Check code quality
run: yarn lint:eslint
run: pnpm lint:eslint
- name: Check types
run: yarn lint:tsc
run: pnpm lint:tsc
build:
name: Build
@ -30,9 +30,9 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Build
run: yarn build
run: pnpm build
- name: Save build
uses: forgejo/upload-artifact@v4
with:

View file

@ -1 +1,2 @@
public/
pnpm-lock.yaml

View file

@ -6,10 +6,10 @@
"scripts": {
"dev": "vite",
"build": "bash render.bash",
"build:targets": "yarn build:client && yarn build:server",
"build:targets": "pnpm build:client && pnpm build:server",
"build:client": "tsc -b && vite build --outDir dist/client",
"build:server": "tsc -b && vite build --outDir dist/server --ssr src/entry-server.tsx",
"lint": "yarn lint:tsc && yarn lint:eslint && yarn lint:prettier",
"lint": "pnpm lint:tsc && pnpm lint:eslint && pnpm lint:prettier",
"lint:prettier": "prettier --check .",
"lint:eslint": "eslint .",
"lint:tsc": "tsc -b --noEmit",

3019
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@ set -o nounset
set -o pipefail
set -o xtrace
yarn "build:targets"
pnpm "build:targets"
PROD='dist/prod'
if [[ -d "$PROD" ]]; then

2301
yarn.lock

File diff suppressed because it is too large Load diff