mirror of
https://github.com/remarkjs/remark-lint.git
synced 2024-09-11 19:57:15 +03:00
Fix Node in Actions on Windows
Closes GH-280. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
This commit is contained in:
parent
773e561466
commit
8e2a554c38
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -8,9 +8,10 @@ jobs:
|
||||
runs-on: ${{matrix.os}}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: dcodeIO/setup-node-nvm@master
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{matrix.node}}
|
||||
- run: npm install -g npm@7 # See: <https://github.com/npm/cli/issues/4341#issuecomment-1040608101>
|
||||
- run: npm install -g npm
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
@ -22,4 +23,4 @@ jobs:
|
||||
- windows-latest
|
||||
node:
|
||||
- lts/erbium
|
||||
- node
|
||||
- lts/*
|
||||
|
Loading…
Reference in New Issue
Block a user