Skip to content

Switch to url.URL, updates and audit #183

Switch to url.URL, updates and audit

Switch to url.URL, updates and audit #183

Workflow file for this run

name: test-and-lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: node.js
runs-on: ubuntu-latest
strategy:
matrix:
# Support LTS versions based on https://nodejs.org/en/about/releases/
node-version: ['18', '20', '21']
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test