Skip to content

Commit

Permalink
Merge branch 'master' into KIT-3899
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeaudoincoveo committed Feb 27, 2025
2 parents 3620cd5 + 7a80a7a commit 7dd8eff
Show file tree
Hide file tree
Showing 436 changed files with 32,257 additions and 24,352 deletions.
8 changes: 4 additions & 4 deletions .deployment.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"disabled": $[IS_NIGHTLY],
"bucket": "{terraform.infra.infra.bucket_binaries}",
"directory": "proda/StaticCDN/bueno/v$[BUENO_PATCH_VERSION]",
"source": "packages/bueno/dist/browser",
"source": "packages/bueno/cdn",
"parameters": {
"acl": "public-read"
}
Expand All @@ -33,7 +33,7 @@
"disabled": $[IS_NIGHTLY],
"bucket": "{terraform.infra.infra.bucket_binaries}",
"directory": "proda/StaticCDN/bueno/v$[BUENO_MINOR_VERSION]",
"source": "packages/bueno/dist/browser",
"source": "packages/bueno/cdn",
"parameters": {
"acl": "public-read"
}
Expand All @@ -45,7 +45,7 @@
"disabled": $[IS_NIGHTLY],
"bucket": "{terraform.infra.infra.bucket_binaries}",
"directory": "proda/StaticCDN/bueno/v$[BUENO_MAJOR_VERSION]",
"source": "packages/bueno/dist/browser",
"source": "packages/bueno/cdn",
"parameters": {
"acl": "public-read"
}
Expand All @@ -57,7 +57,7 @@
"disabled": $[IS_NOT_NIGHTLY],
"bucket": "{terraform.infra.infra.bucket_binaries}",
"directory": "proda/StaticCDN/bueno/v$[BUENO_MAJOR_VERSION]-nightly",
"source": "packages/bueno/dist/browser",
"source": "packages/bueno/cdn",
"parameters": {
"acl": "public-read"
}
Expand Down
57 changes: 57 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/atomic-stencil-lit-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# [Component Name] Component Specification

## 📝 Requirements

_The `[component-name]` component is designed to [brief description of the component's purpose]._

<!--
Describe the main purpose and functionality of the component and its specific requirements.
e.g.:
- Functional Requirements: What the component should do.
- Constraints: Any limitations or constraints that must be considered.
-->

- [Requirement 1]: [Brief description of the first requirement]
- [Requirement 2]: [Brief description of the second requirement]

## ♿ Accessibility

<!--
Describe accessibility considerations, such as ARIA roles, keyboard navigation, etc.
Ensure the component is usable by people with disabilities.
-->

- [Description of accessibility considerations, such as ARIA roles, keyboard navigation, etc.]

## ⚡ Performance & Security (if applicable)

<!--
Describe performance considerations, such as asynchronous operations, lazy loading, etc.
Describe security considerations, such as sanitization, preventing XSS attacks, etc.
-->

- [Description of performance considerations, such as asynchronous operations, lazy loading, etc.]
- [Description of security considerations, such as sanitization, preventing XSS attacks, etc.]

## ⚠️ Risks and Challenges (if applicable)

<!--
Identify potential risks and challenges associated with the component's implementation and usage.
-->

- [Risk or challenge 1]
- [Risk or challenge 2]

---

## ✅ Checklist

- [ ] 🧪 The component is [unit tested](https://docs.google.com/document/d/1lrsHAUROGMkRbsGlor02eYKF2mfrfBa0SOESxHFU3pI/edit?tab=t.0#heading=h.l9yzzrwf1i4k)
- [ ] 🧪 The component includes [E2E tests](https://docs.google.com/document/d/1lrsHAUROGMkRbsGlor02eYKF2mfrfBa0SOESxHFU3pI/edit?tab=t.0#heading=h.z9tw07qe1lai)
- [ ] ♿ The component complies with the [Web Content Accessibility Guidelines](https://www.w3.org/TR/WCAG21/).
- [ ] 🌐 All strings intended for humans or assistive technology must be localized with i18n.
- [ ] 📦 The Lit component is exported in the appropriate `index.ts` and `lazy-index.ts` files.
- [ ] 🎨 CSS parts are documented still accessible.
- [ ] 🦥 Slotted Content, public methods and properties are documented

https://coveord.atlassian.net/browse/KIT-[____]
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
with:
load-cache: 'false'
cache-suffix: ${{ inputs.cache-suffix }}
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
id: nx-cache
with:
path: .nx/cache
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-atomic-angular/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
run: npx playwright test
working-directory: packages/samples/angular
shell: bash
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: angular-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-atomic-next/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
install: false
record: false

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: next-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-atomic-react/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
run: npx playwright test
working-directory: packages/samples/atomic-react
shell: bash
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: react-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-atomic-screenshots/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
wait-on-timeout: 600000
install: false
record: false
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: cancelled() || failure() || success()
with:
name: result-lists-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-atomic/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.github-token }}
SPLIT: ${{ inputs.SPLIT }}
SPLIT_INDEX: ${{ inputs.SPLIT_INDEX }}
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: atomic-e2e-screenshots-${{ inputs.spec }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-headless-ssr-app-dev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
install: false
record: false

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: ssr-app-dev-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-headless-ssr-app-prod/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
install: false
record: false

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: ssr-app-prd-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-headless-ssr-pages-dev/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
install: false
record: false

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: ssr-page-dev-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-headless-ssr-pages-prod/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
install: false
record: false

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: ssr-pages-prd-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/e2e-iife/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
install: false
record: false

- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: iife-screenshots
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/e2e-quantic-cypress/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: packages/quantic/cypress/plugins/config
key: quantic-cypress-config-${{ github.sha }}
Expand All @@ -28,7 +28,7 @@ runs:
config: reporter=cypress/reporters/detailed-reporter.js
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: quantic-screenshots-${{ inputs.spec}}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/e2e-quantic-playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Runs Playwright tests for Quantic'
runs:
using: composite
steps:
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: packages/quantic/.env
key: quantic-playwright-env-${{ github.sha }}
Expand All @@ -13,7 +13,7 @@ runs:
npx playwright test
shell: bash
working-directory: ./packages/quantic
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
with:
name: quantic-playwright-report
path: packages/quantic/playwright-report
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/e2e-quantic-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ runs:
SFDX_AUTH_JWT_KEY_FILE: server.key
SFDX_AUTH_JWT_USERNAME: rdaccess@coveo.com
SFDX_AUTH_JWT_INSTANCE_URL: https://login.salesforce.com
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: packages/quantic/cypress/plugins/config
key: quantic-cypress-config-${{ github.sha }}
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: packages/quantic/.env
key: quantic-playwright-env-${{ github.sha }}
2 changes: 1 addition & 1 deletion .github/actions/e2e-stencil/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
wait-on-timeout: 600000
install: false
record: false
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: failure()
with:
name: stencil-sample-screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/merge-playwright-reports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
shell: bash

- name: Upload HTML report
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
with:
name: atomic-playwright-report
path: packages/atomic/playwright-report
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/playwright-atomic-hosted-pages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
run: npx playwright test
working-directory: packages/atomic-hosted-page
shell: bash
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: ${{ inputs.uploadArtifacts == 'true' }}
with:
name: atomic-hosted-page-playwright-report
Expand Down
24 changes: 24 additions & 0 deletions .github/actions/playwright-atomic-theming/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Playwright Atomic Theming'
description: 'Run Playwright smoke tests for Atomic theming'
inputs:
uploadArtifacts:
description: 'Whether to upload artifacts'
required: false
default: 'true'
runs:
using: composite
steps:
- name: Install Playwright Browsers
run: npx playwright install --with-deps
working-directory: packages/atomic
shell: bash
- name: Run Playwright tests
run: npx playwright test -c dev
working-directory: packages/atomic
shell: bash
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
if: ${{ inputs.uploadArtifacts == 'true' }}
with:
name: atomic-theming-playwright-report
path: packages/atomic/playwright-report/
retention-days: 5
2 changes: 1 addition & 1 deletion .github/actions/playwright-atomic/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
run: npx playwright test ${{ inputs.testsToRun }} --shard=${{ inputs.shardIndex }}/${{ inputs.shardTotal }}
working-directory: packages/atomic
shell: bash
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
if: ${{ inputs.uploadArtifacts == 'true' }}
with:
name: blob-report-${{ matrix.shardIndex }}
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ runs:
- name: Install npm
run: npm i -g npm@11
shell: bash
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
id: npm-cache
with:
path: |
**/node_modules/
!.nx/cache/
key: npm-${{ hashFiles('package-lock.json', 'patches/*') }}
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: packages/quantic/force-app/main/default/staticresources
key: quantic-${{ hashFiles('package-lock.json') }}}}
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
- uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: ~/.cache/Cypress
key: cy-${{ hashFiles('package-lock.json') }}
- if: inputs.load-cache == 'true'
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
uses: actions/cache/restore@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
id: nx-cache
with:
path: .nx/cache
Expand Down
3 changes: 3 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
For the Stencil to Lit migration, please tag the Pull Request with `new-lit-component`. Do not fill out the PR description initially; a template will be automatically generated for you to complete.

For all other contributors, please disregard this instruction.
4 changes: 2 additions & 2 deletions .github/workflows/create-quantic-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit

Expand All @@ -29,7 +29,7 @@ jobs:
echo ${{ github.sha }} > github-sha.txt
- name: Check SHA
id: check_sha
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4
with:
path: check-SHA
key: check-SHA-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-pr-artifact-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-quantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit

Expand All @@ -38,7 +38,7 @@ jobs:
]
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit

Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit

Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit

Expand Down
Loading

0 comments on commit 7dd8eff

Please sign in to comment.