Skip to content

test: run on GitHub Actions #12

test: run on GitHub Actions

test: run on GitHub Actions #12

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dcodeIO/setup-node-nvm@v5
with:
node-version: iojs
- run: npm install
- run: npm test
env:
# Node.js/io.js bundle their own CA store, which is now substantially out of date. io.js predated the `--use-openssl-ca` flag, so we have to disable TLS verification entirely.
# Upon upgrading this test suite to a modern Node.js version, this should be removed.
NODE_TLS_REJECT_UNAUTHORIZED: '0'