optimizations for gitea runner
All checks were successful
Deploy to Vercel / deploy (push) Successful in 1m6s
All checks were successful
Deploy to Vercel / deploy (push) Successful in 1m6s
This commit is contained in:
@@ -23,19 +23,8 @@ jobs:
|
|||||||
corepack enable
|
corepack enable
|
||||||
corepack prepare pnpm@10 --activate
|
corepack prepare pnpm@10 --activate
|
||||||
|
|
||||||
- name: Resolve pnpm store path
|
|
||||||
id: pnpm-store
|
|
||||||
run: echo "path=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Cache pnpm store
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ${{ steps.pnpm-store.outputs.path }}
|
|
||||||
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
|
||||||
restore-keys: pnpm-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile --prefer-offline
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Verify Vercel credentials
|
- name: Verify Vercel credentials
|
||||||
run: |
|
run: |
|
||||||
@@ -44,4 +33,4 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: npx vercel deploy --prod --yes
|
run: pnpm exec vercel deploy --prod --yes
|
||||||
Reference in New Issue
Block a user