Skip to content

Merge branch 'gh-pages' of https://github.com/verlok/vanilla-lazyload… #46

Merge branch 'gh-pages' of https://github.com/verlok/vanilla-lazyload…

Merge branch 'gh-pages' of https://github.com/verlok/vanilla-lazyload… #46

Workflow file for this run

name: Node.js CI
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [lts/*, latest]
os: [ubuntu-latest, macos-latest, windows-latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- run: npm run test:unit