Skip to content

Commit 9c4d3c4

Browse files
committed
chore: template-oss-apply
1 parent 2b7ec54 commit 9c4d3c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+500
-187
lines changed

Diff for: .commitlintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
rules: {
66
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
77
'header-max-length': [2, 'always', 80],
8-
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
8+
'subject-case': [0],
9+
'body-max-line-length': [0],
910
},
1011
}

Diff for: .github/actions/create-check/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
using: "composite"
1818
steps:
1919
- name: Get Workflow Job
20-
uses: actions/github-script@v6
20+
uses: actions/github-script@v7
2121
id: workflow
2222
env:
2323
JOB_NAME: "${{ inputs.name }}"

Diff for: .github/workflows/audit.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
shell: bash
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Setup Git User
2323
run: |
2424
git config --global user.email "[email protected]"
2525
git config --global user.name "npm CLI robot"
2626
- name: Setup Node
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
id: node
2929
with:
30-
node-version: 20.x
31-
check-latest: contains('20.x', '.x')
30+
node-version: 22.x
31+
check-latest: contains('22.x', '.x')
3232
cache: npm
3333
- name: Check Git Status
3434
run: node scripts/git-dirty.js

Diff for: .github/workflows/ci-libnpmaccess.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
shell: bash
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup Git User
3232
run: |
3333
git config --global user.email "[email protected]"
3434
git config --global user.name "npm CLI robot"
3535
- name: Setup Node
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
id: node
3838
with:
39-
node-version: 20.x
40-
check-latest: contains('20.x', '.x')
39+
node-version: 22.x
40+
check-latest: contains('22.x', '.x')
4141
cache: npm
4242
- name: Install Latest npm
4343
uses: ./.github/actions/install-latest-npm
@@ -65,6 +65,9 @@ jobs:
6565
- name: macOS
6666
os: macos-latest
6767
shell: bash
68+
- name: macOS
69+
os: macos-13
70+
shell: bash
6871
- name: Windows
6972
os: windows-latest
7073
shell: cmd
@@ -74,19 +77,33 @@ jobs:
7477
- 18.0.0
7578
- 18.x
7679
- 20.x
80+
- 22.x
81+
exclude:
82+
- platform: { name: macOS, os: macos-13, shell: bash }
83+
node-version: 16.14.0
84+
- platform: { name: macOS, os: macos-13, shell: bash }
85+
node-version: 16.x
86+
- platform: { name: macOS, os: macos-13, shell: bash }
87+
node-version: 18.0.0
88+
- platform: { name: macOS, os: macos-13, shell: bash }
89+
node-version: 18.x
90+
- platform: { name: macOS, os: macos-13, shell: bash }
91+
node-version: 20.x
92+
- platform: { name: macOS, os: macos-13, shell: bash }
93+
node-version: 22.x
7794
runs-on: ${{ matrix.platform.os }}
7895
defaults:
7996
run:
8097
shell: ${{ matrix.platform.shell }}
8198
steps:
8299
- name: Checkout
83-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
84101
- name: Setup Git User
85102
run: |
86103
git config --global user.email "[email protected]"
87104
git config --global user.name "npm CLI robot"
88105
- name: Setup Node
89-
uses: actions/setup-node@v3
106+
uses: actions/setup-node@v4
90107
id: node
91108
with:
92109
node-version: ${{ matrix.node-version }}

Diff for: .github/workflows/ci-libnpmdiff.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
shell: bash
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup Git User
3232
run: |
3333
git config --global user.email "[email protected]"
3434
git config --global user.name "npm CLI robot"
3535
- name: Setup Node
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
id: node
3838
with:
39-
node-version: 20.x
40-
check-latest: contains('20.x', '.x')
39+
node-version: 22.x
40+
check-latest: contains('22.x', '.x')
4141
cache: npm
4242
- name: Install Latest npm
4343
uses: ./.github/actions/install-latest-npm
@@ -65,6 +65,9 @@ jobs:
6565
- name: macOS
6666
os: macos-latest
6767
shell: bash
68+
- name: macOS
69+
os: macos-13
70+
shell: bash
6871
- name: Windows
6972
os: windows-latest
7073
shell: cmd
@@ -74,19 +77,33 @@ jobs:
7477
- 18.0.0
7578
- 18.x
7679
- 20.x
80+
- 22.x
81+
exclude:
82+
- platform: { name: macOS, os: macos-13, shell: bash }
83+
node-version: 16.14.0
84+
- platform: { name: macOS, os: macos-13, shell: bash }
85+
node-version: 16.x
86+
- platform: { name: macOS, os: macos-13, shell: bash }
87+
node-version: 18.0.0
88+
- platform: { name: macOS, os: macos-13, shell: bash }
89+
node-version: 18.x
90+
- platform: { name: macOS, os: macos-13, shell: bash }
91+
node-version: 20.x
92+
- platform: { name: macOS, os: macos-13, shell: bash }
93+
node-version: 22.x
7794
runs-on: ${{ matrix.platform.os }}
7895
defaults:
7996
run:
8097
shell: ${{ matrix.platform.shell }}
8198
steps:
8299
- name: Checkout
83-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
84101
- name: Setup Git User
85102
run: |
86103
git config --global user.email "[email protected]"
87104
git config --global user.name "npm CLI robot"
88105
- name: Setup Node
89-
uses: actions/setup-node@v3
106+
uses: actions/setup-node@v4
90107
id: node
91108
with:
92109
node-version: ${{ matrix.node-version }}

Diff for: .github/workflows/ci-libnpmexec.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
shell: bash
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup Git User
3232
run: |
3333
git config --global user.email "[email protected]"
3434
git config --global user.name "npm CLI robot"
3535
- name: Setup Node
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
id: node
3838
with:
39-
node-version: 20.x
40-
check-latest: contains('20.x', '.x')
39+
node-version: 22.x
40+
check-latest: contains('22.x', '.x')
4141
cache: npm
4242
- name: Install Latest npm
4343
uses: ./.github/actions/install-latest-npm
@@ -65,6 +65,9 @@ jobs:
6565
- name: macOS
6666
os: macos-latest
6767
shell: bash
68+
- name: macOS
69+
os: macos-13
70+
shell: bash
6871
- name: Windows
6972
os: windows-latest
7073
shell: cmd
@@ -74,19 +77,33 @@ jobs:
7477
- 18.0.0
7578
- 18.x
7679
- 20.x
80+
- 22.x
81+
exclude:
82+
- platform: { name: macOS, os: macos-13, shell: bash }
83+
node-version: 16.14.0
84+
- platform: { name: macOS, os: macos-13, shell: bash }
85+
node-version: 16.x
86+
- platform: { name: macOS, os: macos-13, shell: bash }
87+
node-version: 18.0.0
88+
- platform: { name: macOS, os: macos-13, shell: bash }
89+
node-version: 18.x
90+
- platform: { name: macOS, os: macos-13, shell: bash }
91+
node-version: 20.x
92+
- platform: { name: macOS, os: macos-13, shell: bash }
93+
node-version: 22.x
7794
runs-on: ${{ matrix.platform.os }}
7895
defaults:
7996
run:
8097
shell: ${{ matrix.platform.shell }}
8198
steps:
8299
- name: Checkout
83-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
84101
- name: Setup Git User
85102
run: |
86103
git config --global user.email "[email protected]"
87104
git config --global user.name "npm CLI robot"
88105
- name: Setup Node
89-
uses: actions/setup-node@v3
106+
uses: actions/setup-node@v4
90107
id: node
91108
with:
92109
node-version: ${{ matrix.node-version }}

Diff for: .github/workflows/ci-libnpmfund.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
shell: bash
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup Git User
3232
run: |
3333
git config --global user.email "[email protected]"
3434
git config --global user.name "npm CLI robot"
3535
- name: Setup Node
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
id: node
3838
with:
39-
node-version: 20.x
40-
check-latest: contains('20.x', '.x')
39+
node-version: 22.x
40+
check-latest: contains('22.x', '.x')
4141
cache: npm
4242
- name: Install Latest npm
4343
uses: ./.github/actions/install-latest-npm
@@ -65,6 +65,9 @@ jobs:
6565
- name: macOS
6666
os: macos-latest
6767
shell: bash
68+
- name: macOS
69+
os: macos-13
70+
shell: bash
6871
- name: Windows
6972
os: windows-latest
7073
shell: cmd
@@ -74,19 +77,33 @@ jobs:
7477
- 18.0.0
7578
- 18.x
7679
- 20.x
80+
- 22.x
81+
exclude:
82+
- platform: { name: macOS, os: macos-13, shell: bash }
83+
node-version: 16.14.0
84+
- platform: { name: macOS, os: macos-13, shell: bash }
85+
node-version: 16.x
86+
- platform: { name: macOS, os: macos-13, shell: bash }
87+
node-version: 18.0.0
88+
- platform: { name: macOS, os: macos-13, shell: bash }
89+
node-version: 18.x
90+
- platform: { name: macOS, os: macos-13, shell: bash }
91+
node-version: 20.x
92+
- platform: { name: macOS, os: macos-13, shell: bash }
93+
node-version: 22.x
7794
runs-on: ${{ matrix.platform.os }}
7895
defaults:
7996
run:
8097
shell: ${{ matrix.platform.shell }}
8198
steps:
8299
- name: Checkout
83-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
84101
- name: Setup Git User
85102
run: |
86103
git config --global user.email "[email protected]"
87104
git config --global user.name "npm CLI robot"
88105
- name: Setup Node
89-
uses: actions/setup-node@v3
106+
uses: actions/setup-node@v4
90107
id: node
91108
with:
92109
node-version: ${{ matrix.node-version }}

Diff for: .github/workflows/ci-libnpmhook.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
shell: bash
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- name: Setup Git User
3232
run: |
3333
git config --global user.email "[email protected]"
3434
git config --global user.name "npm CLI robot"
3535
- name: Setup Node
36-
uses: actions/setup-node@v3
36+
uses: actions/setup-node@v4
3737
id: node
3838
with:
39-
node-version: 20.x
40-
check-latest: contains('20.x', '.x')
39+
node-version: 22.x
40+
check-latest: contains('22.x', '.x')
4141
cache: npm
4242
- name: Install Latest npm
4343
uses: ./.github/actions/install-latest-npm
@@ -65,6 +65,9 @@ jobs:
6565
- name: macOS
6666
os: macos-latest
6767
shell: bash
68+
- name: macOS
69+
os: macos-13
70+
shell: bash
6871
- name: Windows
6972
os: windows-latest
7073
shell: cmd
@@ -74,19 +77,33 @@ jobs:
7477
- 18.0.0
7578
- 18.x
7679
- 20.x
80+
- 22.x
81+
exclude:
82+
- platform: { name: macOS, os: macos-13, shell: bash }
83+
node-version: 16.14.0
84+
- platform: { name: macOS, os: macos-13, shell: bash }
85+
node-version: 16.x
86+
- platform: { name: macOS, os: macos-13, shell: bash }
87+
node-version: 18.0.0
88+
- platform: { name: macOS, os: macos-13, shell: bash }
89+
node-version: 18.x
90+
- platform: { name: macOS, os: macos-13, shell: bash }
91+
node-version: 20.x
92+
- platform: { name: macOS, os: macos-13, shell: bash }
93+
node-version: 22.x
7794
runs-on: ${{ matrix.platform.os }}
7895
defaults:
7996
run:
8097
shell: ${{ matrix.platform.shell }}
8198
steps:
8299
- name: Checkout
83-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
84101
- name: Setup Git User
85102
run: |
86103
git config --global user.email "[email protected]"
87104
git config --global user.name "npm CLI robot"
88105
- name: Setup Node
89-
uses: actions/setup-node@v3
106+
uses: actions/setup-node@v4
90107
id: node
91108
with:
92109
node-version: ${{ matrix.node-version }}

0 commit comments

Comments
 (0)