chore: do not test on EOL Node.js versions #113
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Test on Node.js | |
uses: pkgjs/action/.github/workflows/node-test.yaml@v0 | |
with: | |
post-install-steps: | | |
- run: npm run build --if-present | |
shell: bash | |
test-command: npm run test-ci | |
post-test-steps: | | |
- name: Upload coverage report to Codecov | |
run: bash <(curl -s https://codecov.io/bash) | |
shell: bash |