Skip to content

Commit d191a8a

Browse files
authored
Merge pull request #9 from gitKrystan/setup-ci
Setup CI
2 parents 7b55b7a + 85779f7 commit d191a8a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
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+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- uses: pnpm/action-setup@v2
17+
with:
18+
version: 7
19+
run_install: false
20+
21+
- uses: actions/setup-node@v3
22+
with:
23+
node-version: 18
24+
cache: 'pnpm'
25+
26+
- run: pnpm install --frozen-lockfile
27+
28+
- run: pnpm lint
29+
30+
- run: pnpm build
31+
32+
- run: pnpm test

0 commit comments

Comments
 (0)