Compare commits

..

2 commits

Author SHA1 Message Date
c816032f54
Cache npm dependencies
Some checks failed
Audit / Audit (push) Failing after 10s
Push / Lint (push) Successful in 27s
Push / Build (push) Failing after 18s
Audit / Audit (pull_request) Failing after 10s
2025-02-23 08:10:31 -05:00
429b37a2e2
Switch to npm
Remember when I switched to pnpm, like, 1 commit ago? Yeah I misread the CI log, it actually need to use npm.
2025-02-23 08:09:16 -05:00
5 changed files with 4919 additions and 3027 deletions

View file

@ -16,5 +16,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
cache: npm
- name: Audit
run: pnpm audit
run: npm audit

View file

@ -12,14 +12,16 @@ jobs:
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
cache: npm
- name: Install dependencies
run: pnpm install
run: npm install
- name: Check code formatting
run: pnpm lint:prettier
run: npm run lint:prettier
- name: Check code quality
run: pnpm lint:eslint
run: npm run lint:eslint
- name: Check types
run: pnpm lint:tsc
run: npm run lint:tsc
build:
name: Build
@ -29,10 +31,12 @@ jobs:
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
cache: npm
- name: Install dependencies
run: pnpm install
run: npm install
- name: Build
run: pnpm build
run: npm run build
- name: Save build
uses: forgejo/upload-artifact@v4
with:

4905
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

3019
pnpm-lock.yaml generated

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
pnpm "build:targets"
npm run "build:targets"
PROD='dist/prod'
if [[ -d "$PROD" ]]; then