Skip to content

Commit de4e19a

Browse files
committed
add ci config
1 parent 95834d5 commit de4e19a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
main:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: nrwl/nx-set-shas@v3
16+
with:
17+
main-branch-name: master
18+
- run: npm ci
19+
20+
- run: npx nx workspace-lint
21+
# - run: npx nx format:check
22+
- run: npx nx affected --target=lint --parallel=3
23+
- run: npx nx affected --target=build --parallel=3

0 commit comments

Comments
 (0)