Skip to content

Commit

Permalink
perf: update node to version 22
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-capsule42 committed Dec 22, 2024
1 parent 60f57e3 commit 252d4b1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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)", "test (20.x)", "license/cla"]
contexts: ["test (20.x)", "test (22.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
16 changes: 8 additions & 8 deletions .github/workflows/testPublish.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Test and publish

# Controls when the action will run. Triggers the workflow on push or pull request

name: Test and publish

# Controls when the action will run. Triggers the workflow on push or pull request

# events but only for the main branch
on:
push:
branches: [ main, beta ]
pull_request:
branches: [ main, beta ]

branches: [ main, beta ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
- run: npm ci
- run: npm run build:release
- uses: cycjimmy/semantic-release-action@v4
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"main": "index.js",
"license": "Apache-2.0",
"engines": {
"node": "^18 || ^20"
"node": "^20.x || ^22.x "
},
"dependencies": {
"@aurodesignsystem/auro-button": "^8.1.3",
Expand Down

0 comments on commit 252d4b1

Please sign in to comment.