Skip to content

Commit

Permalink
Update github action for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
shanjingheng committed Mar 9, 2023
1 parent 6fe57bf commit abbc8fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@ env:
jobs:
build: # 任务的job_id,具体名称自定义,这里build代表打包
runs-on: ubuntu-latest # runs-on字段指定运行所需要的虚拟机环境。注意:这个是必填字段
defaults:
run:
working-directory: /
steps:
- uses: pnpm/action-setup@v2
with:
version: 6.32.9
- uses: actions/setup-node@v3
with:
node-version: "14"
cache: "pnpm"
# cache: "pnpm"

- run: pnpm install --frozen-lockfile

# 打包
Expand Down

0 comments on commit abbc8fc

Please sign in to comment.