Skip to content

Upgrade checkout

Upgrade checkout #1410

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: [12, 14, 16]
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: bootstrap
run: npx lerna bootstrap --hoist
- name: link
run: npx lerna link
- name: test
run: npm test