diff --git a/.github/workflows/deploy-example-site.yml b/.github/workflows/deploy-example-site.yml index fc784025..6254e68c 100644 --- a/.github/workflows/deploy-example-site.yml +++ b/.github/workflows/deploy-example-site.yml @@ -8,7 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录 fetch-depth: 0 @@ -17,7 +17,7 @@ jobs: uses: actions/setup-node@v3 with: # 选择要使用的 node 版本 - node-version: 16.x + node-version: 18 # registry-url: https://registry.npmmirror.com/ - uses: pnpm/action-setup@v2.2.4 @@ -42,7 +42,7 @@ jobs: run: npm i -g @antfu/ni - name: Install dependencies - run: ni + run: ni --frozen # 运行构建脚本 - name: Build