Skip to content

Bump puppeteer from 21.0.0 to 21.1.1 #1339

Bump puppeteer from 21.0.0 to 21.1.1

Bump puppeteer from 21.0.0 to 21.1.1 #1339

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags: '*'
pull_request:
jobs:
test:
name: Test on Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: mymindstorm/setup-emsdk@v12
with:
version: '3.1.13'
- run: npm ci
- run: npm test
- name: 'Upload artifact'
if: matrix.node-version == '20.x'
uses: actions/upload-artifact@v3
with:
name: site
path: dist
deploy:
name: Deploy to gh-pages
runs-on: ubuntu-latest
permissions:
contents: write
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: site
path: dist
- name: Deploy preview
if: github.event_name == 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: dist
force: false
target-folder: preview/${{ github.event.number }}
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: dist
force: false
clean-exclude: |
LICENSE.md
preview