Skip to content

Merge pull request #491 from felixmosh/clean-license-files #56

Merge pull request #491 from felixmosh/clean-license-files

Merge pull request #491 from felixmosh/clean-license-files #56

name: Build Examples
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
example:
[
minimal,
next-9,
lifecycle,
cookie,
cache-on-front-end-nav,
custom-worker,
custom-ts-worker,
next-image,
offline-fallback,
offline-fallback-v2,
web-push
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm link
- run: npm install
working-directory: examples/${{ matrix.example }}
- run: npm link next-pwa
working-directory: examples/${{ matrix.example }}
- run: npm run build
working-directory: examples/${{ matrix.example }}