Skip to content

Commit 8ab906e

Browse files
committed
working around node 10 and less-loader 9 in the test suite
1 parent b5986ca commit 8ab906e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/node-windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ jobs:
1919
uses: actions/setup-node@v1
2020
with:
2121
node-version: ${{ matrix.node }}
22+
# needed so that Node 10 downloads a compatible less-loader version
23+
- name: Clear lock file
24+
run: del yarn.lock
2225
- name: yarn install
23-
run: yarn install
26+
run: yarn --ignore-engines
2427
- name: run tests
2528
run: yarn test

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ matrix:
2626
- rm yarn.lock
2727
- yarn
2828
- os: linux
29-
node_js: "10"
29+
node_js: "14"
3030
env: JOB_PART=travis:lint
3131
- os: linux
3232
node_js: "10"
3333
env: JOB_PART=test
34+
# needed so that Node 10 downloads a compatible less-loader version
35+
install:
36+
- rm yarn.lock
37+
- yarn --ignore-engines
3438
- os: linux
3539
node_js: "12"
3640
env: JOB_PART=test

0 commit comments

Comments
 (0)