We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775db9d commit bbaf18cCopy full SHA for bbaf18c
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+permissions:
10
+ actions: read
11
+ contents: read
12
13
+jobs:
14
+ main:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+ - uses: actions/setup-node@v3
21
22
+ node-version: 20
23
+ cache: 'npm'
24
+ - run: npm ci
25
+ - uses: nrwl/nx-set-shas@v3
26
+ # This line is needed for nx affected to work when CI is running on a PR
27
+ - run: git branch --track main origin/main
28
29
+ - run: npx nx format:check
30
+ - run: npx nx affected -t lint,test,build
0 commit comments