Skip to content

Commit

Permalink
fix: reset ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Sep 30, 2024
1 parent 99d0b2c commit 5736784
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# - name: Cache pnpm modules and build
# uses: actions/cache@v4
# with:
# path: |
# node_modules
# build
# key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Cache pnpm modules and build
uses: actions/cache@v4
with:
path: |
node_modules
build
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}

- uses: actions/setup-node@v4
with:
Expand All @@ -29,17 +29,17 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: 9
# - name: Get pnpm store directory
# shell: bash
# run: |
# echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
# - name: Setup pnpm cache
# uses: actions/cache@v4
# with:
# path: ${{ env.STORE_PATH }}
# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-pnpm-store-
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: build
Expand Down

0 comments on commit 5736784

Please sign in to comment.