Skip to content

Commit

Permalink
Update Github Actions to use cache (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 authored Sep 26, 2024
1 parent 4b1ea1f commit c437a79
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,20 @@ jobs:
################################
# Install packages #
################################
- name: Install packages
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
run_install: false

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'

- name: Install dependencies
run: pnpm install

################################
# Lint codebase #
Expand Down

0 comments on commit c437a79

Please sign in to comment.