mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
fix(ci): remove percy
This commit is contained in:
committed by
Łukasz Mierzwa
parent
0506bf19dd
commit
3521e36b2a
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
@@ -360,40 +360,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
PULL_REQUEST_NUMBER: ${{ github.event.number }}
|
||||
|
||||
percy:
|
||||
name: Percy UI snapshots
|
||||
if: github.event_name != 'release' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
|
||||
needs: stage-test-and-lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Get modified files
|
||||
uses: dorny/paths-filter@v2.11.1
|
||||
id: filter
|
||||
with:
|
||||
list-files: "shell"
|
||||
filters: |
|
||||
percy:
|
||||
- 'ui/src/**/*'
|
||||
- 'ui/.storybook/*'
|
||||
- 'ui/package.json'
|
||||
|
||||
- name: Set up Node JS
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20.1.0
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Run Percy
|
||||
if: steps.filter.outputs.percy == 'true'
|
||||
run: make -C ui test-percy
|
||||
env:
|
||||
NODE_ENV: test
|
||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||
|
||||
cross-compile:
|
||||
name: Cross compile binaries
|
||||
needs: stage-test-and-lint
|
||||
|
||||
Reference in New Issue
Block a user