Skip to content

Commit

Permalink
Also cache Puppeteer's Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Xophmeister committed Jan 30, 2024
1 parent 1632396 commit aa8b5e3
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,22 @@ jobs:
authToken: "${{ secrets.CACHIX_TWEAG_TOPIARY_AUTH_TOKEN }}"

- name: Set up frontend cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: '**/node_modules'
key: node_modules-${{ hashFiles('**/package-lock.json')}}
path: |
**/node_modules
~/.cache/puppeteer
key: frontend_${{ matrix.os }}_${{ hashFiles('**/package-lock.json') }}

- name: Clippy, test, and benchmark
if: matrix.os == 'ubuntu-latest'
run: export GC_DONT_GC=1; nix -L flake check
# - name: Clippy, test, and benchmark
# if: matrix.os == 'ubuntu-latest'
# run: export GC_DONT_GC=1; nix -L flake check

- name: Build and test executable
run: 'echo \{ \"foo\": \"bar\" \} | nix run . -- fmt -l json'
# - name: Build and test executable
# run: 'echo \{ \"foo\": \"bar\" \} | nix run . -- fmt -l json'

- name: Verify that usage in README.md matches CLI output
run: ./verify-documented-usage.sh
# - name: Verify that usage in README.md matches CLI output
# run: ./verify-documented-usage.sh

- name: Build web playground Wasm app
if: success() && matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit aa8b5e3

Please sign in to comment.