Skip to content

Commit 19e17f3

Browse files
Update workflows
1 parent 9fdfd40 commit 19e17f3

4 files changed

Lines changed: 67 additions & 28 deletions

File tree

.github/workflows/check-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
check-unused-images:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Check for unused images
2222
continue-on-error: true

.github/workflows/check-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121

2222
- name: Check links in README
23-
uses: lycheeverse/lychee-action@v1
23+
uses: lycheeverse/lychee-action@v2
2424
continue-on-error: true
2525
with:
2626
args: --verbose --no-progress './**/[Rr][Ee][Aa][Dd][Mm][Ee].md' --exclude-file .lycheeignore

.github/workflows/lint.yml

Lines changed: 38 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,27 @@ jobs:
1616
timeout-minutes: 60
1717
steps:
1818
- name: Get sources
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Use Node.js
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
2325

2426
- name: Restore npm cache
25-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2628
with:
2729
path: ./Angular/node_modules
2830
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
2931
restore-keys: ${{ runner.os }}-node-modules
3032

3133
- name: Run npm install
3234
working-directory: Angular
33-
run: npm install --no-audit --no-fund
35+
run: npm install --no-fund
36+
37+
- name: Security audit
38+
working-directory: Angular
39+
run: npm audit --audit-level=high
3440

3541
- name: Lint Angular
3642
working-directory: Angular
@@ -43,21 +49,28 @@ jobs:
4349
timeout-minutes: 60
4450
steps:
4551
- name: Get sources
46-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
4753

4854
- name: Use Node.js
49-
uses: actions/setup-node@v3
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: '20'
5058

5159
- name: Restore npm cache
52-
uses: actions/cache@v3
60+
uses: actions/cache@v4
5361
with:
5462
path: ./jQuery/node_modules
5563
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
5664
restore-keys: ${{ runner.os }}-node-modules
5765

5866
- name: Run npm install
5967
working-directory: jQuery
60-
run: npm install --no-audit --no-fund
68+
run: npm install --no-fund
69+
70+
- name: Security audit
71+
working-directory: jQuery
72+
continue-on-error: true
73+
run: npm audit --audit-level=high
6174

6275
- name: Lint jQuery
6376
working-directory: jQuery
@@ -70,23 +83,27 @@ jobs:
7083
timeout-minutes: 60
7184
steps:
7285
- name: Get sources
73-
uses: actions/checkout@v3
86+
uses: actions/checkout@v4
7487

7588
- name: Use Node.js
7689
uses: actions/setup-node@v4
7790
with:
7891
node-version: '20'
7992

8093
- name: Restore npm cache
81-
uses: actions/cache@v3
94+
uses: actions/cache@v4
8295
with:
8396
path: ./React/node_modules
8497
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
8598
restore-keys: ${{ runner.os }}-node-modules
8699

87100
- name: Run npm install
88101
working-directory: React
89-
run: npm install --no-audit --no-fund
102+
run: npm install --no-fund
103+
104+
- name: Security audit
105+
working-directory: React
106+
run: npm audit --audit-level=high
90107

91108
- name: Lint React
92109
working-directory: React
@@ -99,21 +116,27 @@ jobs:
99116
timeout-minutes: 60
100117
steps:
101118
- name: Get sources
102-
uses: actions/checkout@v3
119+
uses: actions/checkout@v4
103120

104121
- name: Use Node.js
105-
uses: actions/setup-node@v3
122+
uses: actions/setup-node@v4
123+
with:
124+
node-version: '20'
106125

107126
- name: Restore npm cache
108-
uses: actions/cache@v3
127+
uses: actions/cache@v4
109128
with:
110129
path: ./Vue/node_modules
111130
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
112131
restore-keys: ${{ runner.os }}-node-modules
113132

114133
- name: Run npm install
115134
working-directory: Vue
116-
run: npm install --no-audit --no-fund
135+
run: npm install --no-fund
136+
137+
- name: Security audit
138+
working-directory: Vue
139+
run: npm audit --audit-level=high
117140

118141
- name: Lint Vue
119142
working-directory: Vue

.github/workflows/typescript.yml

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,27 @@ jobs:
1616
timeout-minutes: 60
1717
steps:
1818
- name: Get sources
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Use Node.js
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
2325

2426
- name: Restore npm cache
25-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2628
with:
2729
path: ./Angular/node_modules
2830
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
2931
restore-keys: ${{ runner.os }}-node-modules
3032

3133
- name: Run npm install
3234
working-directory: Angular
33-
run: npm install --no-audit --no-fund
35+
run: npm install --no-fund
36+
37+
- name: Security audit
38+
working-directory: Angular
39+
run: npm audit --audit-level=high
3440

3541
- name: TSC Angular
3642
working-directory: Angular
@@ -41,23 +47,27 @@ jobs:
4147
timeout-minutes: 60
4248
steps:
4349
- name: Get sources
44-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
4551

4652
- name: Use Node.js
4753
uses: actions/setup-node@v4
4854
with:
4955
node-version: '20'
5056

5157
- name: Restore npm cache
52-
uses: actions/cache@v3
58+
uses: actions/cache@v4
5359
with:
5460
path: ./React/node_modules
5561
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
5662
restore-keys: ${{ runner.os }}-node-modules
5763

5864
- name: Run npm install
5965
working-directory: React
60-
run: npm install --no-audit --no-fund
66+
run: npm install --no-fund
67+
68+
- name: Security audit
69+
working-directory: React
70+
run: npm audit --audit-level=high
6171

6272
- name: TSC React
6373
working-directory: React
@@ -68,21 +78,27 @@ jobs:
6878
timeout-minutes: 60
6979
steps:
7080
- name: Get sources
71-
uses: actions/checkout@v3
81+
uses: actions/checkout@v4
7282

7383
- name: Use Node.js
74-
uses: actions/setup-node@v3
84+
uses: actions/setup-node@v4
85+
with:
86+
node-version: '20'
7587

7688
- name: Restore npm cache
77-
uses: actions/cache@v3
89+
uses: actions/cache@v4
7890
with:
7991
path: ./Vue/node_modules
8092
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
8193
restore-keys: ${{ runner.os }}-node-modules
8294

8395
- name: Run npm install
8496
working-directory: Vue
85-
run: npm install --no-audit --no-fund
97+
run: npm install --no-fund
98+
99+
- name: Security audit
100+
working-directory: Vue
101+
run: npm audit --audit-level=high
86102

87103
- name: TSC Vue
88104
working-directory: Vue

0 commit comments

Comments
 (0)