Skip to content

Commit

Permalink
ci: remove update-snapshot step
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdikhashan committed Jul 22, 2024
1 parent 2194b0e commit 297028b
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ on:
- next
- v4

workflow_call:
inputs:
update-snapshots:
description: "Update snapshots?"
type: boolean

workflow_dispatch:
inputs:
update-snapshots:
description: "Update snapshots?"
type: boolean

permissions:
contents: read

Expand Down Expand Up @@ -129,20 +117,8 @@ jobs:
- name: Install Playwright browsers and dependencies
run: npx playwright install --with-deps

- name: Set up cache
id: cache
uses: actions/cache@v4
with:
key: cache/${{github.repository}}/${{github.ref}}
restore-keys: cache/${{github.repository}}/refs/heads/master
path: .test/**

- name: Initialize snapshots
if: ${{steps.cache.outputs.cache-hit != 'true' || inputs.update-snapshots == 'true'}}
run: npx playwright test --update-snapshots

- name: Run E2E tests for webpack version ${{ matrix.webpack-version }}
run: npm run test:e2e
run: npm run test:e2e -- --shard=${{ matrix.shard }}

- name: Submit coverage data to codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 297028b

Please sign in to comment.