Skip to content

Commit

Permalink
chore(actions): enable yarn dependency caching
Browse files Browse the repository at this point in the history
  • Loading branch information
vikaspotluri123 committed Feb 2, 2022
1 parent 55812d9 commit 545462f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
cache-dependency-path: cli/yarn.lock
- name: Start MySQL service
run: sudo systemctl start mysql.service
- name: Fix MySQL Password
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/local-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
cache-dependency-path: cli/yarn.lock
- name: Prepare CLI
run: yarn --cwd cli install --frozen-lockfile
- name: Use latest global yarn version
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: yarn
- run: yarn
- run: yarn lint
- run: yarn test

0 comments on commit 545462f

Please sign in to comment.