Update workflow. #211
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 performs continuous integration on node 8.x - 14.x, the last of | |
# which reached end-of-life on 2023-04-30 according to the [release schedule][1] | |
# published by the [release working group][2]. | |
# | |
# [1]: https://github.com/nodejs/release/blob/main/schedule.json | |
# [2]: https://github.com/nodejs/release | |
name: "Node.js CI (EOL: 2019-04-30)" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
node-version: [ 6.x, 4.x, 0.12.x, 0.10.x ] | |
# https://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm test |