From 77bdf60a33474dd59221c7a9507fc19b87060f5d Mon Sep 17 00:00:00 2001 From: xugaoyi <894072666@qq.com> Date: Wed, 1 Nov 2023 16:52:51 +0800 Subject: [PATCH] test: ci --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3642450..a5f0c8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,13 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [18.x] steps: - name: Checkout # 步骤1 uses: actions/checkout@v1 # 使用的动作。格式:userName/repoName。作用:检出仓库,获取源码。 官方actions库:https://github.com/actions - name: Use Node.js ${{ matrix.node-version }} # 步骤2 - uses: actions/setup-node@v1 # 作用:安装nodejs + uses: actions/setup-node@v3 # 作用:安装nodejs with: node-version: ${{ matrix.node-version }} # 版本 - name: Build-and-deploy # 步骤3 @@ -46,5 +46,3 @@ jobs: remote_addr=https://${user_name}:${{secrets.GITHUB_TOKEN}}@${remote_addr} git remote add origin ${remote_addr} git push origin HEAD:$deploy_branch --force # 推送到github $deploy_branch分支 - - # 只提交到github pages也可以使用github-pages-deploy-action,详见: https://github.com/JamesIves/github-pages-deploy-action