Skip to content

fix(deps): update dependency @actions/cache to v4 #2909

fix(deps): update dependency @actions/cache to v4

fix(deps): update dependency @actions/cache to v4 #2909

Workflow file for this run

name: example-start
on:
push:
branches:
- 'master'
pull_request:
workflow_dispatch:
env:
# Disable update-check called by serve through start or start2 script
# works around issue when more than one instance of serve is started
# See PR https://github.com/vercel/serve/pull/457
NO_UPDATE_CHECK: 1
jobs:
start:
# example with web application build,
# server start and waiting for the server
# to respond before running tests
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress tests
uses: ./
with:
working-directory: examples/start
build: npm run build
start: npm start
wait-on: 'http://localhost:3000'
start-multiple:
# example with web application build
# and several services to start
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress tests
uses: ./
with:
working-directory: examples/start
build: npm run build
# single start command per line
start: |
npm start
npm run start2
wait-on: 'http://localhost:8000'
config: 'baseUrl=http://localhost:8000'
start-multiple-commas:
# example with web application build
# and several services to start
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress tests
uses: ./
with:
working-directory: examples/start
build: npm run build
# use commas to separate the commands
start: npm start, npm run start2
wait-on: 'http://localhost:8000'
config: 'baseUrl=http://localhost:8000'