Update workflow. #189
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: 2014-07-31)" | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 0.8.x ] | |
# https://github.com/npm/npm/issues/20191 | |
# https://github.blog/security/supply-chain-security/npm-registry-deprecating-tls-1-0-tls-1-1/ | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: sudo apt-get install -y stunnel | |
- run: stunnel etc/stunnel.conf | |
- run: npm config set registry="http://registry.npmjs.org/" | |
- run: npm config set proxy http://localhost:8080 | |
- run: npm install | |
- run: npm test |