Skip to content

Commit 10f5703

Browse files
committed
Upgrade GitHub Actions workflows to Node 20
1 parent 183937b commit 10f5703

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
packages: write
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
- name: Setup node
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
18-
node-version: '16.x'
19-
registry-url: 'https://npm.pkg.github.com'
20-
scope: '@rooster212'
18+
node-version: 20
19+
registry-url: "https://npm.pkg.github.com"
20+
scope: "@rooster212"
2121
- name: Install packages
2222
run: npm ci
2323
- name: Publish package
2424
run: |
2525
chmod +x ./publish.sh
2626
./publish.sh
2727
env:
28-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- "8000:8000"
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
- name: Setup Node
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
23-
node-version: 16
23+
node-version: 20
2424
cache: "npm"
2525
- name: Install dependencies
2626
run: npm ci

0 commit comments

Comments
 (0)