Skip to content

Commit

Permalink
feat: update node support to include version 20
Browse files Browse the repository at this point in the history
- update on git testPublish & settings yml file to include
node version 20.x as its testing matrix & release version.
- update package version to include node version 20.x as well.

Changes to be committed:
	modified:   .github/settings.yml
	modified:   .github/workflows/testPublish.yml
	modified:   package.json
  • Loading branch information
fajar-apri-alaska committed Dec 4, 2023
1 parent 2db340a commit 4074577
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ branches:
# Required. Require branches to be up to date before merging.
strict: true
# Required. The list of status checks to require in order to merge into this branch
contexts: ["test (18.x)", "license/cla"]
contexts: ["test (18.x)", "test (20.x)", "license/cla"]
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
enforce_admins: false
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [ 18.x ]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -37,7 +37,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.x
- run: npm ci
- run: npm run build
- uses: cycjimmy/semantic-release-action@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "index.js",
"license": "Apache-2.0",
"engines": {
"node": ">=18.15.0"
"node": "^18 || ^20"
},
"dependencies": {
"@aurodesignsystem/auro-badge": "^2.3.1",
Expand Down

0 comments on commit 4074577

Please sign in to comment.