Skip to content

Commit

Permalink
Merge pull request #2479 from nextcloud/automated/noid/master-cypress…
Browse files Browse the repository at this point in the history
…-snapshot-update
  • Loading branch information
skjnldsv committed Sep 14, 2024
2 parents 70979e1 + 5f66548 commit 64b84e0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/cypress-snapshot-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["main", "master", "stable30", "stable29", "stable28"]
branches: ["master", "stable30", "stable29", "stable28"]

name: cypress-snapshot-update-${{ matrix.branches }}

steps:
- name: Checkout
- name: Checkout app
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ matrix.branches }}
Expand All @@ -27,19 +27,21 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: "^20"
fallbackNpm: "^10"

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'

- name: Install dependencies
run: npm ci
- name: Install node dependencies & build app
run: |
npm ci
npm run build --if-present
- name: Snapshot update
run: npm run cypress:update-snapshots
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 64b84e0

Please sign in to comment.