mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Slightly simplify setup-node/Node 14 workaround for GitHub Actions.
This commit is contained in:
parent
81f35edd6c
commit
90ccf961a0
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- name: Edit .npmrc to avoid setup-node issue with Node 14
|
||||
if: ${{ matrix.node-version == '14' }}
|
||||
run: perl -i -p -e 's/(ignore-scripts=true)/# $1/' .npmrc && git add .npmrc && git config --global user.name 'User' && git config --global user.email 'user@example.com' && git commit -m 'Edit .npmrc to avoid setup-node issue with Node 14'
|
||||
run: perl -i -p -e 's/(ignore-scripts=true)/# $1/' .npmrc && git add .npmrc
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue