Skip to content

Fix PR build issue #1430

Fix PR build issue

Fix PR build issue #1430

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
test:
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
if: github.repository == 'ampproject/amp-toolbox'
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [16, 18, 20]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
- name: install
run: npm install
- name: test
run: npm test