Skip to content

Commit

Permalink
perf: update node and status checks for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmenner committed Dec 27, 2024
1 parent 2fd6417 commit ce37cf5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ repository:

# Either `true` to allow rebase-merging pull requests, or `false` to prevent
# rebase-merging.
allow_rebase_merge: true

allow_rebase_merge: true

# See https://docs.github.com/en/rest/reference/teams#add-or-update-team-repository-permissions for available options
teams:
# The permission to grant the team. Can be one of:
Expand Down 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 (20.x)", "test (22.x)", "license/cla"]
contexts: ["test (20)", "test (22)", "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 All @@ -82,8 +82,8 @@ branches:
<<: *default_protection

- name: beta
<<: *default_protection

<<: *default_protection

# Labels: define labels for Issues and Pull Requests
labels:
- name: auro-sidenav
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: [20.x, 22.x]
node-version: [20, 22]

steps:
- uses: actions/checkout@v4
Expand All @@ -39,7 +39,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 22
- run: npm ci
- run: npm run build:release
- uses: cycjimmy/semantic-release-action@v4
Expand Down

0 comments on commit ce37cf5

Please sign in to comment.