Skip to content

new file

new file #2

Workflow file for this run

on:
push:
branches:
- main
jobs:
name: CI

Check failure on line 7 in .github/workflows/percy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/percy.yaml

Invalid workflow file

You have an error in your yaml syntax on line 7
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm install --save-dev @percy/cli
- run: npx percy snapshot _site/ # or any directory such as public/
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}