fix: removeOne(-1) from the end #40
Workflow file for this run
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: Testing | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
pull_request: | |
branches: | |
- '**' | |
paths-ignore: | |
- 'docs/**' | |
jobs: | |
nodejs: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ "0.12","4","5","6","8","10","11","12","14","16" ] | |
name: node.js_${{ matrix.node }}_test | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: NPM install | |
run: npm install | |
- name: Run tests | |
run: npm run test | |
- name: Submit coverage | |
run: ./node_modules/.bin/codecov | |
# Only submit coverage on latest node version since coveralls | |
# does not run pre node 8. | |
if: matrix.node == '16' | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |