From 6a2c116c8d8c48064eedf6d0d0f93be12c5b0f9a Mon Sep 17 00:00:00 2001 From: JounQin Date: Tue, 11 Mar 2025 00:35:59 +0800 Subject: [PATCH] ci: allow release on v3.x --- .github/workflows/ci.yml | 14 +++++++++----- .github/workflows/codeql.yml | 12 +++++++++--- .github/workflows/release.yml | 5 +++++ .github/workflows/size-limit.yml | 5 +++++ 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f7ed8c0..11e2b6f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,19 +4,28 @@ on: - push - pull_request +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: default: + name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }} strategy: matrix: node: - 16 - 18 - 20 + - 22 os: - ubuntu-latest - windows-latest - macos-latest + fail-fast: false runs-on: ${{ matrix.os }} + env: + YARN_IGNORE_NODE: 1 steps: - uses: actions/checkout@v4 @@ -33,17 +42,12 @@ jobs: with: node-version: ${{ matrix.node }} cache: yarn - env: - YARN_IGNORE_NODE: 1 - name: Install Dependencies run: yarn --immutable - env: - YARN_IGNORE_NODE: 1 - name: Build, Lint and Test run: yarn run-s build lint test typecov env: EFF_NO_LINK_RULES: true PARSER_NO_WATCH: true - YARN_IGNORE_NODE: 1 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 17a1049f..925e4126 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -4,12 +4,18 @@ on: push: branches: - master + - v3.x pull_request: branches: - master + - v3.x schedule: - cron: '16 11 * * 2' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze @@ -30,15 +36,15 @@ jobs: uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: '/language:${{ matrix.language }}' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b54dd01..92ab801f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,11 @@ on: push: branches: - master + - v3.x + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: release: diff --git a/.github/workflows/size-limit.yml b/.github/workflows/size-limit.yml index d09c4940..44884f4c 100644 --- a/.github/workflows/size-limit.yml +++ b/.github/workflows/size-limit.yml @@ -4,11 +4,16 @@ on: pull_request: branches: - master + - v3.x permissions: contents: read pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: size-limit: runs-on: ubuntu-latest pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy