File tree 2 files changed +47
-0
lines changed
2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Dependabot Auto Compilation
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - ' package.json'
9
+ - ' package-lock.json'
10
+
11
+ jobs :
12
+ auto-compile :
13
+ if : ${{ github.actor == 'dependabot[bot]' }}
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ contents : write
17
+ pull-requests : write
18
+
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ with :
22
+ ref : ${{ github.head_ref }}
23
+
24
+ - name : Setup Node.js
25
+ uses : actions/setup-node@v4
26
+ with :
27
+ node-version-file : .node-version
28
+ cache : npm
29
+
30
+ - name : Install Dependencies
31
+ run : npm ci
32
+
33
+ - name : Build and Test
34
+ run : npm run all
35
+
36
+ - name : Commit changes
37
+ run : |
38
+ git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
39
+ git config --local user.name "github-actions[bot]"
40
+ git add dist/
41
+ git add coverage/
42
+ git add badges/
43
+ git commit -m "Recompile TypeScript"
44
+
45
+ - name : Push changes
46
+ run : git push
Original file line number Diff line number Diff line change 51
51
VALIDATE_TYPESCRIPT_ES : false
52
52
VALIDATE_JSON : false
53
53
VALIDATE_TYPESCRIPT_STANDARD : false
54
+ VALIDATE_CHECKOV : false
You can’t perform that action at this time.
0 commit comments