Skip to content

Update dependency cypress-cdp to v1.6.8 #497

Update dependency cypress-cdp to v1.6.8

Update dependency cypress-cdp to v1.6.8 #497

Workflow file for this run

name: slides
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
# https://github.com/cypress-io/github-action
- name: Test slides 🎞
uses: cypress-io/github-action@v6
with:
config-file: 'cypress.slides-config.js'
start: 'npm run slides'
wait-on: 'http://localhost:3100'
# build and deploy new version of the slides
- name: Build slides 🏗
run: npm run slides:build -- --base /cypress-workshop-basics/
- name: Show the built folder 📋
run: ls -la dist
# if the tests passed, publish the application
# https://github.com/peaceiris/actions-gh-pages
- name: Publish slides 🌐
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist