Skip to content

Commit

Permalink
Merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanWallace committed Aug 19, 2024
2 parents c99e7c7 + ce0b4cc commit a9027ed
Show file tree
Hide file tree
Showing 111 changed files with 26,731 additions and 4,312 deletions.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ body:
- label: I have searched for [existing issues](https://github.com/cds-snc/gcds-components/issues) that already report this problem, without success. | J’ai vérifié parmi [les tickets (issues) existants](https://github.com/cds-snc/gcds-components/issues) que ce sujet n’avait pas déjà été soumis.
required: true
- type: input
id: package_version
attributes:
label: GC Design System Components Package and Version | Paquet et version des composants de Système de design GC
description: |
Expand All @@ -25,6 +26,7 @@ body:
validations:
required: true
- type: textarea
id: current_behavior
attributes:
label: Current Behavior | Comportement observé
description: |
Expand All @@ -34,6 +36,7 @@ body:
validations:
required: true
- type: textarea
id: expected_behavior
attributes:
label: Expected Behavior | Comportement attendu
description: |
Expand All @@ -43,6 +46,7 @@ body:
validations:
required: true
- type: textarea
id: sys_info
attributes:
label: System Info | Information sur le système
description: |
Expand All @@ -56,6 +60,7 @@ body:
Système, environnement, navigateurs. Au minimum, dites-nous si vous utilisez une infrastructure et si oui, indiquez sa version.
- type: textarea
id: steps_to_reproduce
attributes:
label: Steps to Reproduce | Étapes pour reproduire le bogue
description: |
Expand All @@ -65,6 +70,7 @@ body:
validations:
required: true
- type: input
id: code_url
attributes:
label: "Code Reproduction URL | URL de reproduction du code"
description: |
Expand All @@ -77,6 +83,7 @@ body:
validations:
required: false
- type: textarea
id: more_info
attributes:
label: Additional Information | Informations supplémentaires
description: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758
- uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

Expand All @@ -29,9 +29,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758
- uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

Expand Down
62 changes: 56 additions & 6 deletions .github/workflows/compile-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:

steps:
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup Node
uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

Expand All @@ -39,7 +39,7 @@ jobs:
run: npm run build

- name: Publish ${{ matrix.name }}
uses: JS-DevTools/npm-publish@52bacc14a33500e8dcf0afe1bff552d638216212
uses: JS-DevTools/npm-publish@e06fe3ef65499b38eb12224f2a60979f6d797330
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -85,10 +85,10 @@ jobs:

steps:
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup Node
uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

Expand All @@ -99,7 +99,7 @@ jobs:
run: npm run build

- name: Publish ${{ matrix.name }}
uses: JS-DevTools/npm-publish@52bacc14a33500e8dcf0afe1bff552d638216212
uses: JS-DevTools/npm-publish@e06fe3ef65499b38eb12224f2a60979f6d797330
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
Expand All @@ -119,3 +119,53 @@ jobs:
run: |
json='{"blocks":[{"type":"section","text":{"type":"mrkdwn","text":":red: Publish ${{ matrix.name }} failed: <https://github.com/cds-snc/gcds-components/actions/workflows/compile-and-publish.yml|Publish packages>"}}]}'
curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.SLACK_WEBHOOK_OPS }}
publish-react-ssr:
name: Publish React SSR
needs: publish-web
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: "@cdssnc/gcds-components-react-ssr"
package: "./packages/react-ssr"
dist: "./packages/react-ssr"

steps:
- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Setup Node
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

- name: Install monorepo (react-ssr)
run: npm install

- name: Build gcds-components (react-ssr)
run: npm run build

- name: Publish ${{ matrix.name }}
uses: JS-DevTools/npm-publish@e06fe3ef65499b38eb12224f2a60979f6d797330
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
package: ${{ matrix.dist }}
tag: canary

- name: Report deployment to Sentinel
if: steps.publish.outputs.id != ''
uses: cds-snc/sentinel-forward-data-action@main
with:
input_data: '{"product": "design-system", "sha": "${{ github.sha }}", "version": "${{steps.publish.outputs.id}}", "repository": "${{ github.repository }}", "environment": "production", "status": "${{ job.status }}"}'
log_type: CDS_Product_Deployment_Data
log_analytics_workspace_id: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}
log_analytics_workspace_key: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}

- name: Slack notify on failure
if: failure()
run: |
json='{"blocks":[{"type":"section","text":{"type":"mrkdwn","text":":red: Publish ${{ matrix.name }} failed: <https://github.com/cds-snc/gcds-components/actions/workflows/compile-and-publish.yml|Publish packages>"}}]}'
curl -X POST -H 'Content-type: application/json' --data "$json" ${{ secrets.SLACK_WEBHOOK_OPS }}
2 changes: 1 addition & 1 deletion .github/workflows/export_github_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
DNS_PROXY_FORWARDTOSENTINEL: "true"
DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }}
DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }}
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Export Data
uses: cds-snc/github-repository-metadata-exporter@main
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@0a8153a7e8d76932ff5903ccdbed894237ef223d
uses: ossf/scorecard-action@fdeb02dc9c3fb721c82a431b2708514aca13dbeb
with:
results_file: ossf-results.json
results_format: json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758
- uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1
- uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
id: sre_app_token
with:
app-id: ${{ secrets.SRE_APP_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758
- uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
with:
node-version: 18

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/s3-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0 # retrieve all history

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/upload-cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
exit 1
upload-to-cdn:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
# Runs on manual triggers (workflow_dispatch), or if the workflow run "Publish packages" was successful
if: ${{ github.event_name != 'workflow_run' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
runs-on: ubuntu-latest

strategy:
Expand All @@ -53,7 +54,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Make Upload to CDN script executable
run: chmod +x ./utils/scripts/upload_to_cdn.sh
Expand Down
9 changes: 5 additions & 4 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"packages/angular": "0.22.1",
"packages/react": "0.22.1",
"packages/vue": "0.22.1",
"packages/web": "0.22.1"
"packages/angular": "0.24.1",
"packages/react": "0.24.1",
"packages/vue": "0.24.1",
"packages/web": "0.24.1",
"packages/react-ssr": "0.24.1-canary.0"
}
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,43 @@

All notable changes to this project will be documented in this file.

## [0.24.1](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.24.0...gcds-components-v0.24.1) (2024-08-13)

### Bug Fixes

- update small design misalignments in various components ([#608](https://github.com/cds-snc/gcds-components/issues/608)) ([9bcb4ae](https://github.com/cds-snc/gcds-components/commit/9bcb4aef1004ea45b4ad0a2855b2322cfedbe799))

## [0.24.0](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.23.0...gcds-components-v0.24.0) (2024-08-01)

### New Features

- add visited state to link component ([#602](https://github.com/cds-snc/gcds-components/issues/602)) ([da4e524](https://github.com/cds-snc/gcds-components/commit/da4e524708e74ec485c9bec1805e09b3c67e125c))

## [0.23.0](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.22.4...gcds-components-v0.23.0) (2024-07-31)

### New Features

- add react ssr package (canary version) ([#587](https://github.com/cds-snc/gcds-components/issues/587)) ([bf3fd1e](https://github.com/cds-snc/gcds-components/commit/bf3fd1ee11429ae9ff97047547f6bcedd2fd8c3d))

## [0.22.4](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.22.3...gcds-components-v0.22.4) (2024-07-29)

### Bug Fixes

- roll back changes to the angular build process ([#597](https://github.com/cds-snc/gcds-components/issues/597)) ([0b62c3a](https://github.com/cds-snc/gcds-components/commit/0b62c3ab4a1ac4f65401b92fba732f9166c9e39d))

## [0.22.3](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.22.2...gcds-components-v0.22.3) (2024-07-29)

### Code Refactoring

- update error message design ([#592](https://github.com/cds-snc/gcds-components/issues/592)) ([5f1b94e](https://github.com/cds-snc/gcds-components/commit/5f1b94e83076c8b97a4f110ac7269acc15cc67f4))

## [0.22.2](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.22.1...gcds-components-v0.22.2) (2024-07-10)

### Bug Fixes

- Safari a11y issues with links and nav group focus ([#583](https://github.com/cds-snc/gcds-components/issues/583)) ([d7c3fb9](https://github.com/cds-snc/gcds-components/commit/d7c3fb91f0fb475926371be62395e33b635153a4))
- Remove rxjs events to avoid duplicate custom events in @cdssnc/gcds-component-angular ([#566](https://github.com/cds-snc/gcds-components/issues/566)) ([9bf46ac](https://github.com/cds-snc/gcds-components/commit/9bf46ac49c7ffd3a1569430a0a138136e639fc9c))

## [0.22.1](https://github.com/cds-snc/gcds-components/compare/gcds-components-v0.22.0...gcds-components-v0.22.1) (2024-05-27)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"version": "0.22.1"
"version": "0.24.1"
}
Loading

0 comments on commit a9027ed

Please sign in to comment.