-
-
Notifications
You must be signed in to change notification settings - Fork 33
44 lines (34 loc) · 760 Bytes
/
validate.yml
File metadata and controls
44 lines (34 loc) · 760 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
37
38
39
40
41
42
43
44
name: Validate
on:
pull_request:
types:
- edited
- opened
- synchronize
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
name: Validate
steps:
- name: Checkout Commit
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.19.0
- name: Install PNPM
uses: pnpm/action-setup@v4
- name: Sanity Check
run: |
echo branch `git branch --show-current`;
echo node `node --version`;
echo yarn `pnpm --version`
- name: pnpm install
run: pnpm install
- name: Lint Repo
run: pnpm lint
- name: Run Tests
run: pnpm test