File tree 3 files changed +38
-15
lines changed
3 files changed +38
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Dependencies'
2
+
3
+ on :
4
+ # Triggers the workflow on pull request events
5
+ pull_request :
6
+ # Allows you to run this workflow manually from the Actions tab
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ review :
14
+ runs-on : ubuntu-latest
15
+ name : Review
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ - name : Dependencies Review
19
+ uses : actions/dependency-review-action@v2
20
+ # FIXME: This validation does not work on CI
21
+ # verify:
22
+ # runs-on: ubuntu-latest
23
+ # name: Verify
24
+ # steps:
25
+ # - uses: actions/setup-node@v3
26
+ # - uses: actions/checkout@v3
27
+ # - name: Update Cache
28
+ # run: npm run update-deps
29
+ # - name: Verify Deps
30
+ # run: |
31
+ # if [[ $(npm run verify-deps) ]]; then
32
+ # echo "Dependencies content has changed! Update dependencies via 'npm run update-deps' and commit changes!"
33
+ # npm run verify-deps
34
+ # exit 1
35
+ # fi
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " root" ,
3
3
"version" : " 0.0.0" ,
4
- "packageManager" : " npm@18.0.0 " ,
4
+ "packageManager" : " npm@9.3.1 " ,
5
5
"private" : true ,
6
6
"scripts" : {
7
7
"ct" : " git-cz" ,
8
+ "update-deps" : " rm -rf node_modules && rm -rf npm_cache && npm i" ,
9
+ "verify-deps" : " git diff --name-only | grep npm_cache/_cacache/content" ,
8
10
"start" : " nx serve ng-dynamic-component" ,
9
11
"build" : " nx build ng-dynamic-component" ,
10
12
"test" : " nx test ng-dynamic-component" ,
You can’t perform that action at this time.
0 commit comments