Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino committed Feb 29, 2024
1 parent 4ffd324 commit dbd3fa4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
with:
node-version: "18.18.0"
cache: 'yarn'
- name: Download deps cache artifacts
uses: actions/download-artifact@v3
with:
name: node_modules.tar.gz
- name: Unzip node_modules
run: tar xzf node_modules.tar.gz
- name: Install deps via Yarn
run: yarn
- name: Check for frozen lockfile
Expand Down Expand Up @@ -50,6 +56,12 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "18.18.0"
- name: Download deps cache artifacts
uses: actions/download-artifact@v3
with:
name: node_modules.tar.gz
- name: Unzip node_modules
run: tar xzf node_modules.tar.gz
- name: Lint
run: yarn lint
- name: Audit CI
Expand Down

0 comments on commit dbd3fa4

Please sign in to comment.