mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 10:51:28 +00:00
e2e
This commit is contained in:
parent
947500e723
commit
f653b41850
6
.github/workflows/test-e2e.yml
vendored
6
.github/workflows/test-e2e.yml
vendored
@ -144,7 +144,9 @@ jobs:
|
||||
steps:
|
||||
- name: Generate cache key for node_modules
|
||||
id: cache-key
|
||||
run: echo "key=node-modules-${{ runner.os }}-${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock') }}" >> $GITHUB_OUTPUT
|
||||
run: echo "key=node-modules-${{ runner.os }}-${{ env.LOCK_HASH }}" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
LOCK_HASH: ${{ hashFiles('backend/yarn.lock', 'webapp/yarn.lock') }}
|
||||
- name: Restore node_modules cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@ -203,4 +205,4 @@ jobs:
|
||||
for i in {1..30}; do curl -sf http://localhost:3000 && exit 0 || sleep 2; done; exit 1
|
||||
- name: Run Cypress tests
|
||||
run: |
|
||||
yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }})
|
||||
yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }})
|
||||
Loading…
x
Reference in New Issue
Block a user