File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Pull Request
2
+
3
+ # Run the pipeline on new pull requests or changes made to existing ones
4
+ on :
5
+ pull_request :
6
+ types :
7
+ - opened
8
+ - reopened
9
+ - synchronize
10
+
11
+ # Only allow one concurrent deployment
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.ref }}
14
+ cancel-in-progress : true
15
+
16
+ jobs :
17
+ default :
18
+ name : Install dependencies
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Install pnpm
25
+ uses : pnpm/action-setup@v3
26
+ with :
27
+ version : 9
28
+
29
+ - name : Setup Node.js
30
+ uses : actions/setup-node@v4
31
+ with :
32
+ node-version : 20
33
+ cache : pnpm
34
+
35
+ - name : Install dependencies
36
+ run : pnpm install
37
+
38
+ - name : Perform dependency audit
39
+ run : pnpm audit
40
+
41
+ - name : Perform code linting
42
+ run : pnpm lint
You can’t perform that action at this time.
0 commit comments