Skip to content

Commit

Permalink
working around node 10 and less-loader 9 in the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed May 21, 2021
1 parent b5986ca commit 8ab906e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/node-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
# needed so that Node 10 downloads a compatible less-loader version
- name: Clear lock file
run: del yarn.lock
- name: yarn install
run: yarn install
run: yarn --ignore-engines
- name: run tests
run: yarn test
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ matrix:
- rm yarn.lock
- yarn
- os: linux
node_js: "10"
node_js: "14"
env: JOB_PART=travis:lint
- os: linux
node_js: "10"
env: JOB_PART=test
# needed so that Node 10 downloads a compatible less-loader version
install:
- rm yarn.lock
- yarn --ignore-engines
- os: linux
node_js: "12"
env: JOB_PART=test
Expand Down

0 comments on commit 8ab906e

Please sign in to comment.