mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Edit .npmrc to avoid setup-node issue with Node 14 (https://github.com/actions/setup-node/issues/698).
This commit is contained in:
parent
3e454481fd
commit
2e7b7b9079
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -16,10 +16,13 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
node-version: [14.x, 16.x, 18.x]
|
||||
node-version: [ 14, 16, 18 ]
|
||||
|
||||
steps:
|
||||
- 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'
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue