Skip to content

Core | Test: Update Push action script #14

Core | Test: Update Push action script

Core | Test: Update Push action script #14

Workflow file for this run

name: Cypress Percy Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Install npm 8
run: npm install -g npm@8
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build && npm run build:dev
- name: Start server
run: cd packages/dev; npm run serve & sleep 5
- name: Run tests
run: cd packages/dev; npm install --save-dev @percy/cli
run: npm test

Check failure on line 23 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / Cypress Percy Tests

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 23, Col: 7): 'run' is already defined
env:
PERCY_TOKEN: $
- name: Stop server
run: pkill -f "serve dist -s -p 9501"