Skip to content

Commit c4c99b4

Browse files
authored
ci: allow release on v3.x (#369)
1 parent ece9efd commit c4c99b4

File tree

4 files changed

+28
-8
lines changed

4 files changed

+28
-8
lines changed

.github/workflows/ci.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,28 @@ on:
44
- push
55
- pull_request
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
default:
13+
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
914
strategy:
1015
matrix:
1116
node:
1217
- 16
1318
- 18
1419
- 20
20+
- 22
1521
os:
1622
- ubuntu-latest
1723
- windows-latest
1824
- macos-latest
25+
fail-fast: false
1926
runs-on: ${{ matrix.os }}
27+
env:
28+
YARN_IGNORE_NODE: 1
2029
steps:
2130
- uses: actions/checkout@v4
2231

@@ -33,17 +42,12 @@ jobs:
3342
with:
3443
node-version: ${{ matrix.node }}
3544
cache: yarn
36-
env:
37-
YARN_IGNORE_NODE: 1
3845

3946
- name: Install Dependencies
4047
run: yarn --immutable
41-
env:
42-
YARN_IGNORE_NODE: 1
4348

4449
- name: Build, Lint and Test
4550
run: yarn run-s build lint test typecov
4651
env:
4752
EFF_NO_LINK_RULES: true
4853
PARSER_NO_WATCH: true
49-
YARN_IGNORE_NODE: 1

.github/workflows/codeql.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,18 @@ on:
44
push:
55
branches:
66
- master
7+
- v3.x
78
pull_request:
89
branches:
910
- master
11+
- v3.x
1012
schedule:
1113
- cron: '16 11 * * 2'
1214

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1319
jobs:
1420
analyze:
1521
name: Analyze
@@ -30,15 +36,15 @@ jobs:
3036
uses: actions/checkout@v4
3137

3238
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v2
39+
uses: github/codeql-action/init@v3
3440
with:
3541
languages: ${{ matrix.language }}
3642
queries: +security-and-quality
3743

3844
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v2
45+
uses: github/codeql-action/autobuild@v3
4046

4147
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v2
48+
uses: github/codeql-action/analyze@v3
4349
with:
4450
category: '/language:${{ matrix.language }}'

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches:
66
- master
7+
- v3.x
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
712

813
jobs:
914
release:

.github/workflows/size-limit.yml

+5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ on:
44
pull_request:
55
branches:
66
- master
7+
- v3.x
78

89
permissions:
910
contents: read
1011
pull-requests: write
1112

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1217
jobs:
1318
size-limit:
1419
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)