Skip to content

Github Action fails to install Chromium #567

Answered by Robdel12
oskarer asked this question in Support
Discussion options

You must be logged in to vote

Hey @oskarer! Looks like this is a CI config issue -- you might be missing a setup node step. You'll also want to install the project dependencies before running the command too. Maybe something like

name: CI

on:
  pull_request:
    branches: [master]
  workflow_dispatch:

jobs:
  percy-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: 12
      - name: Install dependencies 
        run: npm install
      - name: Run Percy
        run: npx percy snapshot snapshots.yml
        env:
          PERCY_TOKEN: ${{secrets.PERCY_TOKEN}}

(I'd also double check the spacing/tabbing in the yaml befor…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@oskarer
Comment options

@Robdel12
Comment options

Answer selected by oskarer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #566 on September 29, 2021 17:47.