-
-
Notifications
You must be signed in to change notification settings - Fork 829
26 lines (24 loc) · 638 Bytes
/
ci.yml
File metadata and controls
26 lines (24 loc) · 638 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Build and Lint
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: "pnpm"
- run: pnpm install
- run: pnpm build
- uses: actions/upload-artifact@v4
with:
name: build
path: dist
- run: pnpm lint --no-fix