Skip to content

Commit 83e1c68

Browse files
style: fix (#258)
1 parent 128f945 commit 83e1c68

File tree

3 files changed

+587
-578
lines changed

3 files changed

+587
-578
lines changed

Diff for: .github/workflows/nodejs.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: yarn lint
5050

5151
- name: Security audit
52-
run: yarn audit
52+
run: yarn audit --groups dependencies
5353

5454
- name: Check commit message
5555
uses: wagoid/commitlint-github-action@v4
@@ -70,11 +70,21 @@ jobs:
7070
run: git config --global core.autocrlf input
7171

7272
- 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+
}
7483
- name: Use Node.js ${{ matrix.node-version }}
7584
uses: actions/setup-node@v2
7685
with:
7786
node-version: ${{ matrix.node-version }}
87+
architecture: ${{ steps.calculate_architecture.outputs.result }}
7888
cache: "yarn"
7989

8090
- name: Install dependencies

Diff for: SECURITY.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Security Policy
2+
23
## Reporting Security Issues
34

45
If you discover a security issue in webpack/loader-utils, please report it by following the instructions

0 commit comments

Comments
 (0)