File tree 3 files changed +587
-578
lines changed
3 files changed +587
-578
lines changed Original file line number Diff line number Diff line change 49
49
run : yarn lint
50
50
51
51
- name : Security audit
52
- run : yarn audit
52
+ run : yarn audit --groups dependencies
53
53
54
54
- name : Check commit message
55
55
uses : wagoid/commitlint-github-action@v4
@@ -70,11 +70,21 @@ jobs:
70
70
run : git config --global core.autocrlf input
71
71
72
72
- uses : actions/checkout@v2
73
-
73
+ - uses : actions/github-script@v7
74
+ id : calculate_architecture
75
+ with :
76
+ result-encoding : string
77
+ script : |
78
+ if ('${{ matrix.os }}' === 'macos-latest' && ('${{ matrix['node-version'] }}' === '12.x' || '${{ matrix['node-version'] }}' === '14.x')) {
79
+ return "x64"
80
+ } else {
81
+ return ''
82
+ }
74
83
- name : Use Node.js ${{ matrix.node-version }}
75
84
uses : actions/setup-node@v2
76
85
with :
77
86
node-version : ${{ matrix.node-version }}
87
+ architecture : ${{ steps.calculate_architecture.outputs.result }}
78
88
cache : " yarn"
79
89
80
90
- name : Install dependencies
Original file line number Diff line number Diff line change 1
1
# Security Policy
2
+
2
3
## Reporting Security Issues
3
4
4
5
If you discover a security issue in webpack/loader-utils, please report it by following the instructions
You can’t perform that action at this time.
0 commit comments