Skip to content

Commit 7e20276

Browse files
committed
chore: CI
1 parent 20cdfea commit 7e20276

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v3
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: lts/*
18+
cache: pnpm
19+
20+
- name: Install
21+
run: pnpm install
22+
23+
- name: Lint
24+
run: pnpm run check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ dev/perf/screenshot*
1111
.DS_store
1212
.github/workflows/*
1313
!.github/workflows/package-and-publish.yml
14+
!.github/workflows/ci.yml

0 commit comments

Comments
 (0)