Skip to content

Commit 9f56fb3

Browse files
committed
chore: Merge support into master
2 parents 4fea25c + 66db2d0 commit 9f56fb3

File tree

831 files changed

+28826
-19834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

831 files changed

+28826
-19834
lines changed

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,12 @@ module.exports = {
9696
curly: 'error',
9797
radix: 'error',
9898
},
99+
overrides: [
100+
{
101+
files: ['**/*.stories.tsx'],
102+
rules: {
103+
'react-hooks/rules-of-hooks': 'off',
104+
},
105+
},
106+
],
99107
};

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Optional breaking changes message. If your PR includes breaking changes. It is e
2020

2121
## Checklist
2222

23-
- [ ] MDX documentation adheres to Canvas Kit's [Documentation Guidelines](https://workday.github.io/canvas-kit/?path=/docs/guides-documentation-guidelines--page)
23+
- [ ] MDX documentation adheres to Canvas Kit's [Documentation Guidelines](https://workday.github.io/canvas-kit/?path=/docs/guides-documentation-guidelines--docs)
2424
- [ ] Label `ready for review` has been added to PR
2525

2626
## For the Reviewer

.github/labeler.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/reviewer-lottery.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/canary.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,21 @@ jobs:
2121

2222
- uses: Workday/canvas-kit-actions/install@v1
2323
with:
24-
node_version: 16.x
24+
node_version: 18.x
2525

2626
## Build Storybook and extract component stories for Storybook aggregation. This will be used
2727
## for Chromatic rebaselining and publishing to GH Pages. Should be before `yarn build` since
2828
## built assets mess up this command
29-
# removed yarn sb extract docs docs/stories.json because we were exceeding limit in CI, add back in once we find more space
3029
- name: Build Storybook
3130
run: |
3231
yarn build-storybook --quiet
32+
yarn sb extract docs docs/stories.json
3333
3434
## Build for packaging.
3535
- name: Build
3636
run: yarn build
37+
env:
38+
TSP_SKIP_CACHE: true
3739

3840
## Publish prerelease to npm. Must be run after a build
3941
- name: Publish

.github/workflows/dist-tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: Workday/canvas-kit-actions/install@v1
2424
with:
25-
node_version: 16.x
25+
node_version: 18.x
2626

2727
- name: Check packages
2828
run: node utils/dist-tag.mjs

.github/workflows/forward-merge.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494

9595
- uses: Workday/canvas-kit-actions/install@v1
9696
with:
97-
node_version: 16.x
97+
node_version: 18.x
9898

9999
## A `yarn bump` will create a commit and a tag. We need to set up the git user to do this.
100100
## We'll make that user be the github-actions user.
@@ -146,11 +146,8 @@ jobs:
146146
# ignoreLastBuildOnBranch: ${{ needs.get-branch-names.outputs.next-branch }}
147147
# debug: true
148148

149-
- name: Start Server
150-
run: npx http-server docs -p 9001 & npx wait-on http://localhost:9001
151-
152149
- name: Integration tests
153-
run: yarn cypress run --record --parallel --env skip_storybook_test=true # skip the Storybook test during forward merges
150+
run: yarn cypress run --component --record --parallel
154151
env:
155152
# Github Actions doesn't support encryption on forks
156153
# If these keys become compromised, we will rotate and disable these features

.github/workflows/label.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/pull-request.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: Workday/canvas-kit-actions/install@v1
1515
with:
16-
node_version: 16.x
16+
node_version: 18.x
1717

1818
check:
1919
runs-on: ubuntu-latest
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: Workday/canvas-kit-actions/install@v1
2626
with:
27-
node_version: 16.x
27+
node_version: 18.x
2828

2929
# Keep steps separate for Github Actions annotation matching: https://github.com/actions/setup-node/blob/83c9f7a7df54d6b57455f7c57ac414f2ae5fb8de/src/setup-node.ts#L26-L33
3030
- name: Lint
@@ -48,7 +48,7 @@ jobs:
4848

4949
- uses: Workday/canvas-kit-actions/install@v1
5050
with:
51-
node_version: 16.x
51+
node_version: 18.x
5252

5353
- name: Build Storybook
5454
run: yarn build-storybook --quiet
@@ -71,7 +71,7 @@ jobs:
7171

7272
- uses: Workday/canvas-kit-actions/install@v1
7373
with:
74-
node_version: 16.x
74+
node_version: 18.x
7575

7676
- name: Restore Build
7777
uses: actions/cache@v3
@@ -93,7 +93,7 @@ jobs:
9393
strategy:
9494
fail-fast: false
9595
matrix:
96-
containers: [1, 2, 3, 4]
96+
containers: [1, 2, 3, 4, 5]
9797

9898
steps:
9999
- uses: actions/checkout@v2
@@ -102,19 +102,16 @@ jobs:
102102

103103
- uses: Workday/canvas-kit-actions/install@v1
104104
with:
105-
node_version: 16.x
105+
node_version: 18.x
106106

107107
- name: Restore Build
108108
uses: actions/cache@v3
109109
with:
110110
path: docs
111111
key: ${{ runner.os }}-build-${{ github.sha }}
112112

113-
- name: Start Server
114-
run: npx http-server docs -p 9001 & npx wait-on http://localhost:9001
115-
116113
- name: Integration tests
117-
run: yarn cypress run --record --parallel
114+
run: yarn cypress run --component --record --parallel
118115
env:
119116
# Github Actions doesn't support encryption on forks
120117
# If these keys become compromised, we will rotate and disable these features

.github/workflows/release-major.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- uses: Workday/canvas-kit-actions/install@v1
3636
with:
37-
node_version: 16.x
37+
node_version: 18.x
3838

3939
# Run the release job to publish the next major version to npm
4040
- uses: Workday/canvas-kit-actions/release@v1

.github/workflows/release-minor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: Workday/canvas-kit-actions/install@v1
2121
with:
22-
node_version: 16.x
22+
node_version: 18.x
2323

2424
- uses: Workday/canvas-kit-actions/release@v1
2525
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- uses: Workday/canvas-kit-actions/install@v1
3434
with:
35-
node_version: 16.x
35+
node_version: 18.x
3636

3737
- uses: Workday/canvas-kit-actions/release@v1
3838
with:

.github/workflows/reviewer-lottery.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
# To guarantee Maintained check is occasionally updated. See
1111
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
1212
schedule:
13-
- cron: '18 21 * * 4'
13+
- cron: '36 23 * * 1'
1414
push:
1515
branches: [ "master" ]
1616

0 commit comments

Comments
 (0)