mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-13 00:20: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:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -11,33 +11,33 @@ on:
|
|||||||
- next
|
- next
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
svelte-check:
|
svelte-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js 18.x
|
- name: Setup pnpm 8
|
||||||
uses: actions/setup-node@v3
|
uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
version: 8
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Run typecheck
|
- name: Build App
|
||||||
run: npm run check
|
run: pnpm build
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js 18.x
|
- name: Setup pnpm 8
|
||||||
uses: actions/setup-node@v3
|
uses: pnpm/action-setup@v2
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
version: 8
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Run Vitest
|
- name: Run Vitest
|
||||||
run: npm run test
|
run: pnpm test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user