Skip to content

Commit 19a5fd9

Browse files
committed
ci: 🎡 Upgrade to node 20 & bump actions
1 parent 229667e commit 19a5fd9

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

‎.github/workflows/master.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
name: Test and build
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 18
18+
node-version: 20
1919
cache: 'npm'
2020
- name: Install dependencies
2121
run: npm ci
@@ -27,4 +27,4 @@ jobs:
2727
run: npx semantic-release
2828
env:
2929
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
30-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
30+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

‎.github/workflows/pr.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
name: Test and build
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 18
18+
node-version: 20
1919
cache: 'npm'
2020
- name: Install dependencies
2121
run: npm ci
2222
- name: Test
2323
run: npm run test:coverage
2424
- name: Build
25-
run: npm run build
25+
run: npm run build

‎.github/workflows/publish-ghpr.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
name: Publish package to GPR
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
ref: ${{ github.event.inputs.release }}
21-
- uses: actions/setup-node@v3
21+
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 18
23+
node-version: 20
2424
cache: 'npm'
2525
- name: Set version
2626
run: npm version ${{ github.event.inputs.release }} --allow-same-version --git-tag-version=false
@@ -33,4 +33,4 @@ jobs:
3333
- name: Publish
3434
run: npm publish
3535
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)