Skip to content

Merge pull request #1359 from ampproject/fix-test #1444

Merge pull request #1359 from ampproject/fix-test

Merge pull request #1359 from ampproject/fix-test #1444

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: [20, 22]
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