Lego 3691 icon oppdatere electricity tower legge til electricity towe… #1631
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Percy CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- 'packages/elvis/**' | |
pull_request: | |
paths: | |
- 'packages/elvis/**' | |
jobs: | |
percyTest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get Yarn Cache | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'yarn' | |
node-version-file: '.nvmrc' | |
- name: Install | |
run: yarn install --immutable | |
- name: Build Tokens | |
run: yarn build:tokens | |
- name: Build Elvis | |
run: yarn build:elvis | |
- name: Run Percy on Elvis | |
run: | | |
cd packages/elvis | |
node testing/server.js & | |
npx @percy/cli snapshot percy/snapshots.js --base-url http://localhost:3333 | |
env: | |
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} |