Skip to content

Commit

Permalink
Adding cache to gh actions (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWoodard authored Oct 9, 2023
1 parent 9729032 commit 07e66a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-earn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- run: |
yarn global add node-gyp
cd shared && yarn install && yarn build && cd ../earn && yarn install && yarn test
cd shared && yarn install --frozen-lockfile && yarn build && cd ../earn && yarn install --frozen-lockfile && yarn test
3 changes: 2 additions & 1 deletion .github/workflows/test-prime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- run: |
yarn global add node-gyp
cd shared && yarn install && yarn build && cd ../prime && yarn install && yarn test
cd shared && yarn install --frozen-lockfile && yarn build && cd ../prime && yarn install --frozen-lockfile && yarn test
3 changes: 2 additions & 1 deletion .github/workflows/test-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'yarn'
- run: |
yarn global add node-gyp
cd shared && yarn install && yarn test
cd shared && yarn install --frozen-lockfile && yarn test

0 comments on commit 07e66a8

Please sign in to comment.