-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (27 loc) · 685 Bytes
/
Copy pathpr.yml
File metadata and controls
36 lines (27 loc) · 685 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
27
28
29
30
31
32
33
34
35
36
name: PR Verification
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
verify:
name: Build, Test, Lint & Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Install pnpm and Node.js
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2
with:
runtime: node@24
cache: true
- name: Build
run: pnpm run build
- name: Test
run: pnpm run test
- name: Lint
run: pnpm run lint
- name: Format check
run: pnpm run format:check