mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-12 16:10:34 +08:00
🌱 Update CI workflow to use pnpm.
This commit is contained in:
parent
38a136fe1c
commit
5cf6e2a593
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: 🛠️ Check
|
||||
name: 🔎 Check
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -11,33 +11,33 @@ on:
|
||||
- next
|
||||
|
||||
jobs:
|
||||
svelte-check:
|
||||
svelte-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js 18.x
|
||||
uses: actions/setup-node@v3
|
||||
- name: Setup pnpm 8
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
node-version: 18.x
|
||||
version: 8
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: pnpm install
|
||||
|
||||
- name: Run typecheck
|
||||
run: npm run check
|
||||
- name: Build App
|
||||
run: pnpm build
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js 18.x
|
||||
uses: actions/setup-node@v3
|
||||
- name: Setup pnpm 8
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
node-version: 18.x
|
||||
version: 8
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: pnpm install
|
||||
|
||||
- name: Run Vitest
|
||||
run: npm run test
|
||||
run: pnpm test
|
||||
|
Loading…
x
Reference in New Issue
Block a user