From d5226ca1c3b262d62dfa16445b90cc1a6a4b67e1 Mon Sep 17 00:00:00 2001 From: Doug Date: Fri, 13 Dec 2024 12:35:27 -0800 Subject: [PATCH] chore: auro sync update --- .github/CODEOWNERS | 18 ++++++------------ .github/settings.yml | 7 ++----- .github/workflows/publishDemo.yml | 13 ++++++++++++- .github/workflows/testPublish.yml | 6 +++--- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7daaf2e..c2ea895 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,15 +1,9 @@ -# Lines starting with '#' are comments. - -# Each line is a file pattern followed by one or more owners. - -# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax - +# Lines starting with '#' are comments. +# Each line is a file pattern followed by one or more owners. +# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax # The Auro team will be the default owners for everything in the repo. -* @AlaskaAirlines/generalauroreviewers - -# Order is important. The last matching pattern has the most precedence. - -# If a pull request touches any files in the ./src dir, only these owners - +* @AlaskaAirlines/generalauroreviewers +# Order is important. The last matching pattern has the most precedence. +# If a pull request touches any files in the ./src dir, only these owners # will be requested to review. ./src/* @AlaskaAirlines/auroteamreviewers diff --git a/.github/settings.yml b/.github/settings.yml index 1934fa7..b1e0099 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -2,14 +2,11 @@ repository: # See https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#edit for all available settings. # See https://github.com/apps/settings for app settings - # A short description of the repository that will show up on GitHub - description: Custom element that .... - # A URL with more information about the repository homepage: https://auro.alaskaair.com/components/auro/hyperlink # A comma-separated list of topics to set on the repository - topics: auro, design-system, custom-element, generator-v[genVersionDash] + topics: auro, design-system, custom-element # Either `true` to enable issues for this repository, `false` to disable them. has_issues: true @@ -73,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 ([abstractNodeVersion])","test ([abstractNodeVersionNext])", "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. diff --git a/.github/workflows/publishDemo.yml b/.github/workflows/publishDemo.yml index 1becba2..58f7c36 100644 --- a/.github/workflows/publishDemo.yml +++ b/.github/workflows/publishDemo.yml @@ -1 +1,12 @@ -404: Not Found \ No newline at end of file +name: Deploy Demo + +on: + pull_request: + branches: [ main ] + +jobs: + + call-publish-demo-workflow: + uses: AlaskaAirlines/auro-library/.github/workflows/publishDemo.yml@main + secrets: + AURO_SURGE_TOKEN: ${{secrets.AURO_SURGE_TOKEN}} \ No newline at end of file diff --git a/.github/workflows/testPublish.yml b/.github/workflows/testPublish.yml index eca52ff..1318f9e 100644 --- a/.github/workflows/testPublish.yml +++ b/.github/workflows/testPublish.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [ [abstractNodeVersion], [abstractNodeVersionNext] ] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v4 @@ -30,7 +30,7 @@ jobs: release: # Only release on push to main - if: github.event_name == 'push' && github.ref == 'refs/heads/main' || 'refs/heads/beta' + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') runs-on: ubuntu-latest needs: test steps: @@ -39,7 +39,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v4 with: - node-version: [abstractNodeVersionNext] + node-version: 20.x - run: npm ci - run: npm run build:release - uses: cycjimmy/semantic-release-action@v4