Skip to content

Commit

Permalink
feat: update all packages and runtime to node 20 (#253)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: updates the node runtime and a number of libraries.  This should not have an impact downstream, as node16 was already deprecated and warning runners of impending breakage, but marking the update as breaking just in case.
  • Loading branch information
edwinf committed May 8, 2024
1 parent 17dfbfe commit 8e25aa3
Show file tree
Hide file tree
Showing 10 changed files with 38,256 additions and 20,355 deletions.
10 changes: 9 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"eslint-comments/no-use": "off",
"import/no-namespace": "off",
"no-unused-vars": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}],
"@typescript-eslint/no-require-imports": "error",
Expand Down Expand Up @@ -44,7 +46,13 @@
"semi": "off",
"@typescript-eslint/semi": ["error"],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
"@typescript-eslint/unbound-method": "error",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
},
"env": {
"node": true,
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4
- run: |
npm install
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4

- uses: ./
with:
Expand All @@ -36,12 +36,12 @@ jobs:
runs-on: ubuntu-latest
needs: [build, test]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 4.1.4
with:
fetch-depth: 0

- name: Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # 4.1.0
id: semantic-release
with:
extra_plugins: |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ inputs:
required: false
default: "Test Report"
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'check'
Expand Down
49,714 changes: 35,583 additions & 14,131 deletions dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit 8e25aa3

Please sign in to comment.