Skip to content

Commit 054dafa

Browse files
authored
Merge pull request #362 from dkhunt27/updateActions
updated action refs to latest
2 parents ecae468 + 66c8869 commit 054dafa

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

.github/samples/main-push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
if: "!contains(github.event.head_commit.message, '[skip ci]')"
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818

1919
- name: Setup Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node-version }}
2323
cache: npm
@@ -48,7 +48,7 @@ jobs:
4848
args: '--coverage --coverageReporters=json,json-summary'
4949

5050
- name: Archive Code Coverage Results
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
with:
5353
name: code-coverage-report
5454
path: ./coverage/**/coverage-summary.json

.github/samples/pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212

1313
if: "!contains(github.event.head_commit.message, '[skip ci]')"
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Fetch Code
2020
run: git fetch origin main
2121

2222
- name: Setup Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
cache: npm

.github/workflows/check-dist.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

26-
- name: Set Node.js 12.x
27-
uses: actions/setup-node@v3
26+
- name: Set Node.js 20.x
27+
uses: actions/setup-node@v4
2828
with:
29-
node-version: 12.x
29+
node-version: 20.x
3030

3131
- name: Install dependencies
3232
run: npm ci
@@ -47,7 +47,7 @@ jobs:
4747
id: diff
4848

4949
# If index.js was different than expected, upload the expected version as an artifact
50-
- uses: actions/upload-artifact@v2
50+
- uses: actions/upload-artifact@v4
5151
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
5252
with:
5353
name: dist

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build: # make sure build/ci work properly
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- run: |
1515
npm install
1616
- run: |
@@ -19,13 +19,15 @@ jobs:
1919
test: # make sure the action works on a clean machine without building
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- uses: ./
2424
with:
2525
github-token: ${{ secrets.GITHUB_TOKEN }}
2626
no-coverage-ran: false
27-
coverage-folder: ./__tests__/data/coverage
27+
coverage-folder: ./__tests__/data/coverage
2828
coverage-base-folder: ./__tests__/data/coverage-base
2929
gist-processing: true
3030
gist-token: ${{ secrets.COVERAGE_BADGE_GIST_TOKEN }}
31-
gist-id: 14be704ddbfb786fbb50a292ee4d75f0
31+
gist-id: 14be704ddbfb786fbb50a292ee4d75f0
32+
hide-coverage-reports: false
33+
hide-unchanged: false

0 commit comments

Comments
 (0)