Skip to content

Commit

Permalink
ci: cache node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
renbaoshuo committed Mar 3, 2025
1 parent 051621e commit 68ffd0b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ jobs:
with:
gradle-version: 8.8

- name: Cache node_modules
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn install
run: yarn install --frozen-lockfile

- name: Prebuild
run: yarn run prebuild:android
Expand Down

0 comments on commit 68ffd0b

Please sign in to comment.