Skip to content

Commit

Permalink
build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jul 26, 2023
1 parent 375e6bd commit 56600ac
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@ jobs:
pnpm install
pnpm run playwright-install
- name: Make JS assets available for consequent builds
uses: actions/cache@v3
# Save build artifacts for reuse in other jobs
- name: Save JS Build Artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: ./browser/data-browser/dist
key: ${{ runner.os }}-js-deps-${{ hashFiles('./browser/data-browser/src/**') }}
restore-keys: |
${{ runner.os }}-js-deps-
e2e:
name: End-to-end tests
runs-on: ubuntu-latest
Expand All @@ -72,12 +70,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev
- uses: actions/checkout@v3
# Needs to match with build_js cache step
- name: Restore Cached Packages
uses: actions/cache@v3
- name: Download JS Build Artifact
uses: actions/download-artifact@v3
with:
path: ./browser/data-browser/dist
key: ${{ runner.os }}-js-deps-${{ hashFiles('./browser/data-browser/src/**') }}
name: build-artifact
path: path/to/build/output

- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 56600ac

Please sign in to comment.