Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Node in Actions on Windows #280

Merged
merged 2 commits into from
Feb 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,4 +23,4 @@ jobs:
- windows-latest
node:
- lts/erbium
- node
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the change of this line should be enough? You should be able to skip all others. See unifiedjs/unified@6f6a5c2

Copy link
Contributor Author

@jablko jablko Feb 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- lts/*