Skip to content

Commit be4cd55

Browse files
committed
Fix 'run' of GitHub Actions workflow
Fix because it was not working properly on Windows.
1 parent af0d41e commit be4cd55

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ jobs:
1212
os: [ubuntu-latest, windows-latest, macos-latest]
1313
steps:
1414
- uses: actions/checkout@master
15-
- uses: actions/setup-node@v1
15+
- uses: actions/setup-node@master
1616
with:
1717
node-version: ${{ matrix.node-version }}
18-
- name: npm install, and test
19-
run: |
20-
npm install
21-
npm test
18+
- run: npm i -g npm
19+
- run: npm install
20+
- run: npm test

0 commit comments

Comments
 (0)