Skip to content

Commit

Permalink
chore(actions): enable yarn dependency caching (#1599)
Browse files Browse the repository at this point in the history
  • Loading branch information
vikaspotluri123 authored Feb 2, 2022
1 parent 55812d9 commit 945ab06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
cache-dependency-path: cli/yarn.lock
env:
FORCE_COLOR: 0
- name: Start MySQL service
run: sudo systemctl start mysql.service
- name: Fix MySQL Password
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
env:
FORCE_COLOR: 0
- run: yarn
- run: yarn lint
- run: yarn test

0 comments on commit 945ab06

Please sign in to comment.