Skip to content

Commit

Permalink
[from now] 2022/02/25 21:42:18
Browse files Browse the repository at this point in the history
diff --git a/.github/workflows/cypress-test.yaml b/.github/workflows/cypress-test.yaml
index 67891b0..dc9dddf 100644
--- a/.github/workflows/cypress-test.yaml
+++ b/.github/workflows/cypress-test.yaml
@@ -11,7 +11,7 @@ jobs:
       # @see cypress-io/github-action#446 (comment)
       options: --user 1001
       volumes:
-       - /home/runner/work/cypress:/__w/chikamichi/chikamichi/cypress
+       - /home/runner/work/cypress:/__w/cypress
     steps:
       - uses: actions/checkout@v2
       - name: Cache pnpm modules
@@ -40,6 +40,7 @@ jobs:
           start: pnpm run serve
           wait-on: 'http://localhost:3000'
           browser: chrome
+          config: videosFolder=/__w/cypress/videos
       - name: Cypress run on Firefox
         uses: cypress-io/github-action@v2
         with:
@@ -47,8 +48,9 @@ jobs:
           start: pnpm run serve
           wait-on: 'http://localhost:3000'
           browser: firefox
+          config: videosFolder=/__w/cypress/videos
       # upload artifact
       - uses: actions/upload-artifact@v2
         with:
           name: cypress-videos
-          path: cypress/videos
\ No newline at end of file
+          path: /home/runner/work/cypress/videos
\ No newline at end of file
  • Loading branch information
kawamataryo committed Feb 25, 2022
1 parent 4af40d7 commit a39bbac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cypress-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# @see https://github.com/cypress-io/github-action/issues/446#issuecomment-987015822
options: --user 1001
volumes:
- /home/runner/work/cypress:/__w/chikamichi/chikamichi/cypress
- /home/runner/work/cypress:/__w/cypress
steps:
- uses: actions/checkout@v2
- name: Cache pnpm modules
Expand Down Expand Up @@ -40,15 +40,17 @@ jobs:
start: pnpm run serve
wait-on: 'http://localhost:3000'
browser: chrome
config: videosFolder=/__w/cypress/videos
- name: Cypress run on Firefox
uses: cypress-io/github-action@v2
with:
install: false
start: pnpm run serve
wait-on: 'http://localhost:3000'
browser: firefox
config: videosFolder=/__w/cypress/videos
# upload artifact
- uses: actions/upload-artifact@v2
with:
name: cypress-videos
path: cypress/videos
path: /home/runner/work/cypress/videos

0 comments on commit a39bbac

Please sign in to comment.