Skip to content

Commit ec8bbff

Browse files
committed
upd: Updated GitHub Actions.
1 parent 162ed0a commit ec8bbff

4 files changed

Lines changed: 23 additions & 21 deletions

File tree

.github/workflows/push-checks.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
- name: Cloning source code
1111
uses: actions/checkout@v6
1212
- name: "`pnpm` installation"
13-
uses: pnpm/action-setup@v4
13+
uses: pnpm/action-setup@v5
1414
with:
1515
version: latest
1616

17-
- name: Configuring Node.js 22 (LTS)
17+
- name: Configuring Node.js 24 (LTS)
1818
uses: actions/setup-node@v6
1919
with:
2020
cache: pnpm
21-
node-version: 22
21+
node-version: 24
2222

2323
- name: Installing dependencies
2424
run: pnpm run ci
@@ -42,21 +42,21 @@ jobs:
4242
- name: Cloning source code
4343
uses: actions/checkout@v6
4444
- name: "`pnpm` installation"
45-
uses: pnpm/action-setup@v4
45+
uses: pnpm/action-setup@v5
4646
with:
4747
version: latest
4848

49-
- name: Configuring Node.js 22 (LTS)
49+
- name: Configuring Node.js 24 (LTS)
5050
uses: actions/setup-node@v6
5151
with:
5252
cache: pnpm
53-
node-version: 22
53+
node-version: 24
5454

5555
- name: Installing dependencies
5656
run: pnpm run ci
5757
- name: Running coverage tests
5858
run: pnpm run test:coverage
5959
- name: Uploading coverage reports
60-
uses: codecov/codecov-action@v5
60+
uses: codecov/codecov-action@v6
6161
with:
6262
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release-gpr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ jobs:
1717

1818
steps:
1919
- name: Downloading the artifact
20-
uses: actions/download-artifact@v7
20+
uses: actions/download-artifact@v8
2121
with:
2222
name: byloth-core
2323

24-
- name: Configuring Node.js 22 (LTS)
24+
- name: Configuring Node.js 24 (LTS)
2525
uses: actions/setup-node@v6
2626
with:
27-
node-version: 22
27+
node-version: 24
2828
registry-url: https://npm.pkg.github.com/
2929

30+
- name: Updating npm to the latest version
31+
run: npm install -g npm@latest
3032
- if: ${{ github.event.release.prerelease == true }}
3133
name: Publishing pre-release package
3234
run: npm publish --access public --tag next

.github/workflows/release-npm.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ on:
33
release:
44
types: [published]
55

6-
permissions:
7-
contents: read
8-
id-token: write
9-
106
jobs:
117
artifact-build:
128
name: Artifact
@@ -16,16 +12,20 @@ jobs:
1612
name: Publish on NPM
1713
needs: artifact-build
1814
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
id-token: write
18+
1919
steps:
2020
- name: Downloading the artifact
21-
uses: actions/download-artifact@v7
21+
uses: actions/download-artifact@v8
2222
with:
2323
name: byloth-core
2424

25-
- name: Configuring Node.js 22 (LTS)
25+
- name: Configuring Node.js 24 (LTS)
2626
uses: actions/setup-node@v6
2727
with:
28-
node-version: 22
28+
node-version: 24
2929
registry-url: https://registry.npmjs.org/
3030

3131
- name: Updating npm to the latest version

.github/workflows/template-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
- name: Cloning source code
1111
uses: actions/checkout@v6
1212
- name: "`pnpm` installation"
13-
uses: pnpm/action-setup@v4
13+
uses: pnpm/action-setup@v5
1414
with:
1515
version: latest
1616

17-
- name: Configuring Node.js 22 (LTS)
17+
- name: Configuring Node.js 24 (LTS)
1818
uses: actions/setup-node@v6
1919
with:
2020
cache: pnpm
21-
node-version: 22
21+
node-version: 24
2222

2323
- name: Installing dependencies
2424
run: pnpm run ci
@@ -41,7 +41,7 @@ jobs:
4141
tar -xzvf "${PACKAGE_NAME}" -C "."
4242
4343
- name: Uploading the artifact
44-
uses: actions/upload-artifact@v6
44+
uses: actions/upload-artifact@v7
4545
with:
4646
name: byloth-core
4747
path: package

0 commit comments

Comments
 (0)