Skip to content

Commit ccc526c

Browse files
committed
build(ci): Updated CI workflows to use latest versions
1 parent d4f7729 commit ccc526c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [ 16.x, 18.x ]
11+
node-version: [ 20.x, 22.x, 24.x ]
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v5
1616

1717
- name: Determine Yarn Cache Path
1818
id: yarn-cache-dir-path
1919
run: echo "::set-output name=dir::$(yarn cache dir)"
2020

21-
- uses: actions/cache@v1
21+
- uses: actions/cache@v4
2222
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
2323
with:
2424
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@@ -27,7 +27,7 @@ jobs:
2727
${{ runner.os }}-yarn-
2828
2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v1
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333

@@ -45,6 +45,6 @@ jobs:
4545
CI: true
4646

4747
- name: Post coverage to Coveralls
48-
uses: coverallsapp/github-action@master
48+
uses: coverallsapp/github-action@v2
4949
with:
5050
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v5
1515

1616
- name: Setup Node.js to publish to npmjs.org
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v6
1818
with:
19-
node-version: '18.x'
19+
node-version: '24.x'
2020
registry-url: 'https://registry.npmjs.org'
2121

2222
- name: Install Packages

0 commit comments

Comments
 (0)