-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into spec-template-feedback
- Loading branch information
Showing
886 changed files
with
55,568 additions
and
23,300 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
"^@tanstack/", | ||
"^@tiptap/", | ||
"@types/markdown-it", | ||
"comlink", | ||
"d3-", | ||
"prosemirror-" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,40 @@ on: | |
branches: | ||
- '**' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
GITHUB_SERVICE_USER: "rajsite" | ||
GITHUB_SERVICE_EMAIL: "[email protected]" | ||
LC_ALL: "en_US.UTF-8" | ||
LANG: "en_US.UTF-8" | ||
LANGUAGE: "en_US.UTF-8" | ||
HAS_GITHUBPAGESDEPLOYTOKEN: ${{secrets.GITHUBPAGESDEPLOYTOKEN != ''}} | ||
HAS_CHROMATIC_PROJECT_TOKEN: ${{secrets.CHROMATIC_PROJECT_TOKEN != ''}} | ||
HAS_LHCI_GITHUB_APP_TOKEN: ${{secrets.LHCI_GITHUB_APP_TOKEN != ''}} | ||
HAS_NPM_TOKEN: ${{secrets.NPM_TOKEN != ''}} | ||
HAS_NUGET_TOKEN: ${{secrets.NUGET_TOKEN != ''}} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
if: env.HAS_GITHUBPAGESDEPLOYTOKEN == 'true' | ||
with: | ||
# Required for beachball changelog detection | ||
fetch-depth: 0 | ||
# Must checkout with a token that can push to protected branches for beachball | ||
# Cannot rely on GITHUB_TOKEN with workflow contents permission | ||
# See: https://github.com/orgs/community/discussions/40971 | ||
token: ${{ secrets.GITHUBPAGESDEPLOYTOKEN }} | ||
- uses: actions/checkout@v3 | ||
if: env.HAS_GITHUBPAGESDEPLOYTOKEN == 'false' | ||
with: | ||
# Required for beachball changelog detection | ||
fetch-depth: 0 | ||
|
||
# Install dependencies | ||
- uses: actions/setup-dotnet@v3 | ||
|
@@ -34,7 +49,7 @@ jobs: | |
working-directory: packages/nimble-blazor/ | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
node-version: '20' | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: 'npm' | ||
# Specify npm version | ||
|
@@ -74,7 +89,7 @@ jobs: | |
|
||
# Publish to Chromatic (from any push) | ||
- name: Publish to Chromatic | ||
if: github.event_name == 'push' | ||
if: env.HAS_CHROMATIC_PROJECT_TOKEN == 'true' && github.event_name == 'push' | ||
uses: chromaui/action@v1 | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
|
@@ -96,7 +111,7 @@ jobs: | |
|
||
# Run Lighthouse audit (from any push) | ||
- name: Performance Audit with Lighthouse CI | ||
if: github.event_name == 'push' | ||
if: env.HAS_LHCI_GITHUB_APP_TOKEN == 'true' && github.event_name == 'push' | ||
run: npm run performance | ||
env: | ||
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }} | ||
|
@@ -113,14 +128,14 @@ jobs: | |
# Release | ||
- name: Set Git User | ||
if: startsWith(github.ref, 'refs/heads/main') | ||
if: env.HAS_GITHUBPAGESDEPLOYTOKEN == 'true' && startsWith(github.ref, 'refs/heads/main') | ||
run: | | ||
git config --global user.name "${{ env.GITHUB_SERVICE_USER }}" | ||
git config --global user.email "${{ env.GITHUB_SERVICE_EMAIL }}" | ||
# Update package versions, tag, and publish to npm (only from main) | ||
- name: Beachball publish | ||
if: startsWith(github.ref, 'refs/heads/main') | ||
if: env.HAS_GITHUBPAGESDEPLOYTOKEN == 'true' && env.HAS_NPM_TOKEN == 'true' && env.HAS_NUGET_TOKEN == 'true' && startsWith(github.ref, 'refs/heads/main') | ||
env: | ||
NPM_SECRET_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NUGET_SECRET_TOKEN: ${{ secrets.NUGET_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module.exports = { | ||
ci: { | ||
collect: { | ||
// Serve from dist folder so Angular project name is part of url path | ||
// and shows up in GitHub status checks | ||
staticDistDir: './dist/', | ||
url: [ | ||
'http://localhost/example-client-app/#/customapp' | ||
], | ||
numberOfRuns: 3, | ||
settings: { | ||
preset: 'desktop', | ||
// Omit the pwa category | ||
onlyCategories: ['accessibility', 'best-practices', 'performance', 'seo'] | ||
} | ||
}, | ||
assert: { | ||
assertions: { | ||
'categories:performance': ['error', { minScore: 0.9 }], | ||
'categories:accessibility': ['error', { minScore: 0.8 }] | ||
} | ||
}, | ||
upload: { | ||
target: 'temporary-public-storage', | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
angular-workspace/projects/example-client-app/.browserslistrc
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.