|
|
@@ -380,6 +380,16 @@ jobs:
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
+ - name: Cache/Restore node_modules
|
|
|
+ id: cache-dependencies
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: |
|
|
|
+ **/node_modules
|
|
|
+ key: node_modules-cypress-base-3-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
+ restore-keys: |
|
|
|
+ node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
|
|
|
+
|
|
|
- name: Download production files artifact
|
|
|
uses: actions/download-artifact@v2
|
|
|
with:
|
|
|
@@ -396,7 +406,6 @@ jobs:
|
|
|
uses: cypress-io/github-action@v2
|
|
|
with:
|
|
|
working-directory: ./packages/app
|
|
|
- cache-key: node_modules-cypress-base-2-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
install-command: npx lerna bootstrap -- --frozen-lockfile
|
|
|
runTests: false
|
|
|
# WIP
|
|
|
@@ -406,6 +415,8 @@ jobs:
|
|
|
# wait-on: 'http://localhost:3000'
|
|
|
env:
|
|
|
MONGO_URI: mongodb://mongodb:27017/growi-vrt
|
|
|
+ DEBUG: '@cypress/github-action'
|
|
|
+
|
|
|
|
|
|
- name: Slack Notification
|
|
|
uses: weseek/ghaction-slack-notification@master
|