Skip to content

Commit

Permalink
perf: update to support new Node policy
Browse files Browse the repository at this point in the history
This commit updates the listed files to support the new Node 18-20
transitional support policy.

https://auro.alaskaair.com/node-support

Changes to be committed:
modified:   .github/settings.yml
modified:   .github/workflows/testPublish.yml
modified:   package.json
  • Loading branch information
blackfalcon committed Jan 8, 2024
1 parent f822501 commit 5b76187
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
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 @@ -11,7 +11,7 @@
"description": "Auro custom auro-header element",
"author": "Product design and research",
"engines": {
"node": ">=18.15.0"
"node": "^18 || ^20"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5b76187

Please sign in to comment.