|
@@ -26,12 +26,12 @@ jobs:
|
|
|
PROD_FILES: ${{ steps.archive-prod-files.outputs.file }}
|
|
PROD_FILES: ${{ steps.archive-prod-files.outputs.file }}
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
|
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
with:
|
|
|
# retrieve local font files
|
|
# retrieve local font files
|
|
|
lfs: true
|
|
lfs: true
|
|
|
|
|
|
|
|
- - uses: actions/setup-node@v3
|
|
|
|
|
|
|
+ - uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: ${{ inputs.node-version }}
|
|
node-version: ${{ inputs.node-version }}
|
|
|
cache: 'yarn'
|
|
cache: 'yarn'
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Cache/Restore node_modules
|
|
- name: Cache/Restore node_modules
|
|
|
id: cache-dependencies
|
|
id: cache-dependencies
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
|
|
+ uses: actions/cache@v4
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
**/node_modules
|
|
**/node_modules
|
|
@@ -63,7 +63,7 @@ jobs:
|
|
|
yarn --frozen-lockfile
|
|
yarn --frozen-lockfile
|
|
|
|
|
|
|
|
- name: Restore dist
|
|
- name: Restore dist
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
|
|
+ uses: actions/cache@v4
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
node_modules/.cache/turbo
|
|
node_modules/.cache/turbo
|
|
@@ -100,13 +100,13 @@ jobs:
|
|
|
echo "file=production.tar.gz" >> $GITHUB_OUTPUT
|
|
echo "file=production.tar.gz" >> $GITHUB_OUTPUT
|
|
|
|
|
|
|
|
- name: Upload production files as artifact
|
|
- name: Upload production files as artifact
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
with:
|
|
|
name: Production Files (node${{ inputs.node-version }})
|
|
name: Production Files (node${{ inputs.node-version }})
|
|
|
path: ${{ steps.archive-prod-files.outputs.file }}
|
|
path: ${{ steps.archive-prod-files.outputs.file }}
|
|
|
|
|
|
|
|
- name: Upload report as artifact
|
|
- name: Upload report as artifact
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
with:
|
|
|
name: Bundle Analyzing Report
|
|
name: Bundle Analyzing Report
|
|
|
path: |
|
|
path: |
|
|
@@ -141,9 +141,9 @@ jobs:
|
|
|
discovery.type: single-node
|
|
discovery.type: single-node
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
|
|
|
|
+ - uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- - uses: actions/setup-node@v3
|
|
|
|
|
|
|
+ - uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: ${{ inputs.node-version }}
|
|
node-version: ${{ inputs.node-version }}
|
|
|
cache: 'yarn'
|
|
cache: 'yarn'
|
|
@@ -161,7 +161,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Cache/Restore node_modules
|
|
- name: Cache/Restore node_modules
|
|
|
id: cache-dependencies
|
|
id: cache-dependencies
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
|
|
+ uses: actions/cache@v4
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
**/node_modules
|
|
**/node_modules
|
|
@@ -229,12 +229,12 @@ jobs:
|
|
|
discovery.type: single-node
|
|
discovery.type: single-node
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
|
|
|
|
+ - uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Install fonts
|
|
- name: Install fonts
|
|
|
run: sudo apt install fonts-noto
|
|
run: sudo apt install fonts-noto
|
|
|
|
|
|
|
|
- - uses: actions/setup-node@v3
|
|
|
|
|
|
|
+ - uses: actions/setup-node@v4
|
|
|
with:
|
|
with:
|
|
|
node-version: ${{ inputs.node-version }}
|
|
node-version: ${{ inputs.node-version }}
|
|
|
cache: 'yarn'
|
|
cache: 'yarn'
|
|
@@ -252,7 +252,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Cache/Restore node_modules
|
|
- name: Cache/Restore node_modules
|
|
|
id: cache-dependencies
|
|
id: cache-dependencies
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
|
|
+ uses: actions/cache@v4
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
**/node_modules
|
|
**/node_modules
|
|
@@ -261,7 +261,7 @@ jobs:
|
|
|
node_modules-app-7.x-build-prod-${{ runner.OS }}-node${{ inputs.node-version }}-
|
|
node_modules-app-7.x-build-prod-${{ runner.OS }}-node${{ inputs.node-version }}-
|
|
|
|
|
|
|
|
- name: Cache/Restore Cypress files
|
|
- name: Cache/Restore Cypress files
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
|
|
+ uses: actions/cache@v4
|
|
|
with:
|
|
with:
|
|
|
path: |
|
|
path: |
|
|
|
~/.cache/Cypress
|
|
~/.cache/Cypress
|
|
@@ -323,7 +323,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Upload results
|
|
- name: Upload results
|
|
|
if: always()
|
|
if: always()
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
|
|
|
+ uses: actions/upload-artifact@v4
|
|
|
with:
|
|
with:
|
|
|
name: ${{ inputs.cypress-report-artifact-name }}
|
|
name: ${{ inputs.cypress-report-artifact-name }}
|
|
|
path: |
|
|
path: |
|