Skip to content

Commit

Permalink
Update action-surefire-report dependencies
Browse files Browse the repository at this point in the history
Build action-surefire-report with Node 20 and update all of its
dependencies to latest versions, _except_ for octokit. Octokit started
migrating to ES modules, which is causing issues with Jest, so use
latest versions before that migration.
  • Loading branch information
nineinchnick committed Sep 14, 2024
1 parent 8eefa13 commit 4f5ed7c
Show file tree
Hide file tree
Showing 12 changed files with 39,289 additions and 19,330 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/action-surefire-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
run:
working-directory: ./action-surefire-report
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# generate artifacts used for tests
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
Expand All @@ -43,9 +43,9 @@ jobs:
with:
check_name: Example Pytest Report
report_paths: python/report.xml
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
go-version: 1.23.x
- run: |
cd go &&
go install github.com/jstemmer/go-junit-report/v2@latest &&
Expand All @@ -59,9 +59,9 @@ jobs:

# build and test the action
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20
cache: 'npm'
cache-dependency-path: |
action-surefire-report/package-lock.json
Expand All @@ -83,7 +83,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20
cache: 'npm'
cache-dependency-path: |
block-commits/package-lock.json
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
1 change: 0 additions & 1 deletion action-surefire-report/.eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions action-surefire-report/.eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions action-surefire-report/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ target/
junit.xml
report.xml
__pycache__
venv
2 changes: 1 addition & 1 deletion action-surefire-report/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-bullseye-slim
FROM node:20-bookworm-slim

COPY dist /dist

Expand Down
Binary file modified action-surefire-report/dist/build/Release/xmljs.node
Binary file not shown.
Loading

0 comments on commit 4f5ed7c

Please sign in to comment.