chore(deps): update dependency node to v14 #360
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: [push] | |
jobs: | |
build-unix: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 12.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install and test | |
run: | | |
npm ci | |
npm test | |
env: | |
CI: true | |
- name: upload coverage | |
run: | | |
npm run codecov -- --dump | |
npm run codecov | |
env: | |
CI: true | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
# build-windows: | |
# | |
# runs-on: windows-latest | |
# | |
# strategy: | |
# matrix: | |
# node-version: [10.x, 12.x] | |
# | |
# steps: | |
# - uses: actions/checkout@v1 | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - name: npm install, build, and test | |
# run: | | |
# npm ci | |
# TODO: the next line currently fails with | |
# > [email protected] pretest D:\a\runex\runex | |
# > cd examples/num-args; npm --silent run setup; cd -; | |
# | |
# The system cannot find the path specified. | |
# npm ERR! Test failed. See above for more details. | |
# npm test --100 | |
# env: | |
# CI: true |