Skip to content

Commit a97f77a

Browse files
committed
chore: support provenance
1 parent cbc5a21 commit a97f77a

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ jobs:
77
build:
88
runs-on: ${{ matrix.os }}
99

10+
# @see https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ matrix.os }}-${{ github.ref }}
13+
cancel-in-progress: true
14+
1015
strategy:
1116
matrix:
1217
node-version: [22.x]
1318
os: [windows-latest, ubuntu-latest]
1419

1520
steps:
16-
- name: Setup Git Config
17-
run: |
18-
git config --global core.autocrlf false
19-
git config --global core.eol lf
20-
git config --global user.email "actions@gihub.com"
21-
git config --global user.name "gh-actions"
2221
- uses: actions/checkout@v3
22+
- uses: ./.github/actions/initialize
2323
- uses: pnpm/action-setup@v4
2424
with:
2525
version: 9.10.0
@@ -29,7 +29,7 @@ jobs:
2929
cache: "pnpm"
3030
- run: pnpm i --frozen-lockfile
3131
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v1
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535
- name: Test & Build

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: pnpm/action-setup@v4
1919
with:
2020
version: 9.10.0
21-
- uses: actions/setup-node@v2
21+
- uses: actions/setup-node@v4
2222
with:
2323
node-version: "22.x"
2424
registry-url: https://npm.pkg.github.com
@@ -38,7 +38,7 @@ jobs:
3838
- uses: pnpm/action-setup@v4
3939
with:
4040
version: 9.10.0
41-
- uses: actions/setup-node@v2
41+
- uses: actions/setup-node@v4
4242
with:
4343
node-version: "22.x"
4444
registry-url: https://npm.pkg.github.com
@@ -60,7 +60,7 @@ jobs:
6060
- uses: pnpm/action-setup@v4
6161
with:
6262
version: 9.10.0
63-
- uses: actions/setup-node@v2
63+
- uses: actions/setup-node@v4
6464
with:
6565
node-version: "22.x"
6666
registry-url: "https://registry.npmjs.org"

.github/workflows/versionUp.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@ jobs:
99
if: github.event_name != 'pull_request'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Setup Git Config
13-
run: |
14-
git config --global core.autocrlf false
15-
git config --global core.eol lf
16-
git config --global user.email "actions@gihub.com"
17-
git config --global user.name "gh-actions"
1812
- uses: actions/checkout@v3
1913
with:
2014
ref: main
15+
- uses: ./.github/actions/initialize
2116
- uses: pnpm/action-setup@v4
2217
with:
2318
version: 9.10.0

0 commit comments

Comments
 (0)