Skip to content

Commit 168801c

Browse files
committed
Update Github action
1 parent 31751c2 commit 168801c

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/karma-ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
steps:
1818

1919
- name: 'Checkout the repository'
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

22-
- uses: actions/setup-node@v1
22+
- uses: actions/setup-node@v4
2323
with:
24-
node-version: 16.x
24+
node-version: 20.x
2525

2626
- name: Install dependencies
2727
run: yarn install
@@ -32,7 +32,7 @@ jobs:
3232
run: yarn run karma-headless --browsers ${{ matrix.browsers }}
3333

3434
- name: Coveralls Parallel
35-
uses: coverallsapp/github-action@master
35+
uses: coverallsapp/github-action@v2
3636
with:
3737
github-token: ${{ secrets.github_token }}
3838
flag-name: run-${{ matrix.test_number }}
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Coveralls Finished
46-
uses: coverallsapp/github-action@master
46+
uses: coverallsapp/github-action@v2
4747
with:
4848
github-token: ${{ secrets.github_token }}
4949
parallel-finished: true

.github/workflows/nodejs-ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010

1111
steps:
1212

13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414

1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: 16.x
17+
node-version: 20.x
1818

19-
- name: Install production dependencies, check node engine compatiblity
19+
- name: Install production dependencies, check node engine compatibility
2020
run: yarn install --production=true
2121

2222
- name: Install development dependencies
@@ -29,7 +29,7 @@ jobs:
2929
run: yarn run build
3030

3131
- name: Upload build
32-
uses: actions/upload-artifact@v2
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: build
3535
path: |
@@ -52,18 +52,18 @@ jobs:
5252
steps:
5353

5454
- name: 'Checkout the repository'
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@v4
5656

5757
- name: Test with Node.js ${{ matrix.node-version }}
58-
uses: actions/setup-node@v1
58+
uses: actions/setup-node@v4
5959
with:
6060
node-version: ${{ matrix.node-version }}
6161

6262
- name: Install dependencies
6363
run: yarn install --ignore-engines
6464

6565
- name: Download build
66-
uses: actions/download-artifact@v2
66+
uses: actions/download-artifact@v4
6767
with:
6868
name: build
6969

0 commit comments

Comments
 (0)