Skip to content

Commit d645fcf

Browse files
committed
ci: add gitHub actions workflow to test build
1 parent 613e2cc commit d645fcf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 18.x
17+
- uses: pnpm/action-setup@v4
18+
- run: pnpm i
19+
- run: pnpm lint
20+
- run: pnpm dist

0 commit comments

Comments
 (0)