Skip to content

Commit

Permalink
style: fix (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed May 29, 2024
1 parent 128f945 commit 83e1c68
Show file tree
Hide file tree
Showing 3 changed files with 587 additions and 578 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: yarn lint

- name: Security audit
run: yarn audit
run: yarn audit --groups dependencies

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

- uses: actions/checkout@v2

- uses: actions/github-script@v7
id: calculate_architecture
with:
result-encoding: string
script: |
if ('${{ matrix.os }}' === 'macos-latest' && ('${{ matrix['node-version'] }}' === '12.x' || '${{ matrix['node-version'] }}' === '14.x')) {
return "x64"
} else {
return ''
}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
architecture: ${{ steps.calculate_architecture.outputs.result }}
cache: "yarn"

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Security Policy

## Reporting Security Issues

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

0 comments on commit 83e1c68

Please sign in to comment.