|
@@ -172,13 +172,6 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
yarn --production
|
|
yarn --production
|
|
|
|
|
|
|
|
- - name: Cache node_modules for production
|
|
|
|
|
- uses: actions/cache/save@v4
|
|
|
|
|
- with:
|
|
|
|
|
- path: |
|
|
|
|
|
- **/node_modules
|
|
|
|
|
- key: node_modules-app-launch-prod-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
-
|
|
|
|
|
- name: Download production files artifact
|
|
- name: Download production files artifact
|
|
|
uses: actions/download-artifact@v4
|
|
uses: actions/download-artifact@v4
|
|
|
with:
|
|
with:
|
|
@@ -261,10 +254,10 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
**/node_modules
|
|
**/node_modules
|
|
|
- # saved key by launch-prod
|
|
|
|
|
- key: node_modules-app-launch-prod-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
|
|
+ # saved key by build-prod
|
|
|
|
|
+ key: node_modules-app-build-prod-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
restore-keys: |
|
|
restore-keys: |
|
|
|
- node_modules-app-launch-prod-${{ runner.OS }}--node${{ inputs.node-version }}-
|
|
|
|
|
|
|
+ node_modules-app-build-prod-${{ runner.OS }}--node${{ inputs.node-version }}-
|
|
|
|
|
|
|
|
- name: Cache/Restore Cypress files
|
|
- name: Cache/Restore Cypress files
|
|
|
uses: actions/cache@v4
|
|
uses: actions/cache@v4
|
|
@@ -278,7 +271,7 @@ jobs:
|
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
|
run: |
|
|
run: |
|
|
|
yarn global add node-gyp
|
|
yarn global add node-gyp
|
|
|
- yarn --production
|
|
|
|
|
|
|
+ yarn --frozen-lockfile
|
|
|
yarn cypress install
|
|
yarn cypress install
|
|
|
|
|
|
|
|
- name: Download production files artifact
|
|
- name: Download production files artifact
|
|
@@ -389,15 +382,15 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
**/node_modules
|
|
**/node_modules
|
|
|
- # saved key by launch-prod
|
|
|
|
|
- key: node_modules-app-launch-prod-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
|
|
|
|
+ # saved key by build-prod
|
|
|
|
|
+ key: node_modules-app-build-prod-${{ runner.OS }}-node${{ inputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
|
|
|
restore-keys: |
|
|
restore-keys: |
|
|
|
- node_modules-app-launch-prod-${{ runner.OS }}--node${{ inputs.node-version }}-
|
|
|
|
|
|
|
+ node_modules-app-build-prod-${{ runner.OS }}--node${{ inputs.node-version }}-
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
|
run: |
|
|
run: |
|
|
|
yarn global add node-gyp
|
|
yarn global add node-gyp
|
|
|
- yarn --production
|
|
|
|
|
|
|
+ yarn --frozen-lockfile
|
|
|
|
|
|
|
|
- name: Install Playwright browsers
|
|
- name: Install Playwright browsers
|
|
|
run: |
|
|
run: |
|