mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
fix(ci): upload client without compression (#62570)
This commit is contained in:
committed by
GitHub
parent
806be69c88
commit
f184da462b
20
.github/workflows/e2e-playwright.yml
vendored
20
.github/workflows/e2e-playwright.yml
vendored
@@ -58,15 +58,11 @@ jobs:
|
|||||||
- name: Move serve.json to Public Folder
|
- name: Move serve.json to Public Folder
|
||||||
run: cp client-config/serve.json client/public/serve.json
|
run: cp client-config/serve.json client/public/serve.json
|
||||||
|
|
||||||
# We tar them for performance reasons - uploading a lot of files is slow.
|
|
||||||
- name: Tar Files
|
|
||||||
run: tar -cf client-artifact.tar client/public
|
|
||||||
|
|
||||||
- name: Upload Client Artifact
|
- name: Upload Client Artifact
|
||||||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
with:
|
with:
|
||||||
name: client-artifact
|
name: client-artifact
|
||||||
path: client-artifact.tar
|
path: client/public
|
||||||
|
|
||||||
- name: Upload Webpack Stats
|
- name: Upload Webpack Stats
|
||||||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||||
@@ -118,13 +114,17 @@ jobs:
|
|||||||
- name: Checkout Source Files
|
- name: Checkout Source Files
|
||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
|
|
||||||
- name: Download All Artifacts
|
- name: Download Client Artifact
|
||||||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
|
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
|
||||||
|
with:
|
||||||
|
name: client-artifact
|
||||||
|
path: client/public
|
||||||
|
|
||||||
- name: Unpack Client Artifact
|
- name: Download Api Artifact
|
||||||
run: |
|
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
|
||||||
tar -xf client-artifact/client-artifact.tar
|
with:
|
||||||
rm client-artifact/client-artifact.tar
|
name: api-artifact
|
||||||
|
path: api-artifact
|
||||||
|
|
||||||
- name: Load API Image
|
- name: Load API Image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user