diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index dbb501c2d..aae00f1ca 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/deploy-v4-site.yml b/.github/workflows/deploy-v4-site.yml index 7fe7aec48..b47648161 100644 --- a/.github/workflows/deploy-v4-site.yml +++ b/.github/workflows/deploy-v4-site.yml @@ -13,14 +13,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: 'main' - name: Install pnpm run: corepack enable - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '18' cache: 'pnpm' @@ -32,10 +32,12 @@ jobs: run: npm run build:site - name: Deploy for Gitee 🚀 - uses: JamesIves/github-pages-deploy-action@v4.4.0 + uses: JamesIves/github-pages-deploy-action@v4.4.1 with: branch: gh-pages folder: packages/vant/site-dist + # enable single-commit to reduce the repo size + single-commit: true clean: true clean-exclude: | 1.x/* diff --git a/.github/workflows/pr-label.yaml b/.github/workflows/pr-label.yaml index fb3701452..d79fc4e29 100644 --- a/.github/workflows/pr-label.yaml +++ b/.github/workflows/pr-label.yaml @@ -11,7 +11,7 @@ jobs: name: Labeling for changes runs-on: ubuntu-latest steps: - - uses: github/issue-labeler@v3.1 + - uses: github/issue-labeler@v3.2 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/pr-labeler.yml diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 0ec718067..e80d449bd 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create Release for Tag id: release_tag diff --git a/.github/workflows/sync-gitee.yml b/.github/workflows/sync-gitee.yml index b8200259d..41691d297 100644 --- a/.github/workflows/sync-gitee.yml +++ b/.github/workflows/sync-gitee.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Sync to Gitee - uses: wearerequired/git-mirror-action@master + uses: wearerequired/git-mirror-action@v1.2.0 env: # 在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea39a185c..2fca6d6a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,12 +15,12 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install pnpm run: corepack enable - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '18' cache: 'pnpm' @@ -34,12 +34,12 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install pnpm run: corepack enable - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '18' cache: 'pnpm' @@ -59,12 +59,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install pnpm run: corepack enable - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: node-version: '18' cache: 'pnpm'