Skip to content

Commit

Permalink
chore: Merge support into master
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBoll committed Dec 20, 2024
2 parents 4fea25c + 66db2d0 commit 9f56fb3
Show file tree
Hide file tree
Showing 831 changed files with 28,826 additions and 19,834 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,12 @@ module.exports = {
curly: 'error',
radix: 'error',
},
overrides: [
{
files: ['**/*.stories.tsx'],
rules: {
'react-hooks/rules-of-hooks': 'off',
},
},
],
};
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Optional breaking changes message. If your PR includes breaking changes. It is e

## Checklist

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

## For the Reviewer
Expand Down
3 changes: 0 additions & 3 deletions .github/labeler.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/reviewer-lottery.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@ jobs:

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

## Build Storybook and extract component stories for Storybook aggregation. This will be used
## for Chromatic rebaselining and publishing to GH Pages. Should be before `yarn build` since
## built assets mess up this command
# removed yarn sb extract docs docs/stories.json because we were exceeding limit in CI, add back in once we find more space
- name: Build Storybook
run: |
yarn build-storybook --quiet
yarn sb extract docs docs/stories.json
## Build for packaging.
- name: Build
run: yarn build
env:
TSP_SKIP_CACHE: true

## Publish prerelease to npm. Must be run after a build
- name: Publish
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dist-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

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

- name: Check packages
run: node utils/dist-tag.mjs
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/forward-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

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

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

- name: Start Server
run: npx http-server docs -p 9001 & npx wait-on http://localhost:9001

- name: Integration tests
run: yarn cypress run --record --parallel --env skip_storybook_test=true # skip the Storybook test during forward merges
run: yarn cypress run --component --record --parallel
env:
# Github Actions doesn't support encryption on forks
# If these keys become compromised, we will rotate and disable these features
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/label.yml

This file was deleted.

17 changes: 7 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

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

check:
runs-on: ubuntu-latest
Expand All @@ -24,7 +24,7 @@ jobs:

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

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

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

- name: Build Storybook
run: yarn build-storybook --quiet
Expand All @@ -71,7 +71,7 @@ jobs:

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

- name: Restore Build
uses: actions/cache@v3
Expand All @@ -93,7 +93,7 @@ jobs:
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3, 4]
containers: [1, 2, 3, 4, 5]

steps:
- uses: actions/checkout@v2
Expand All @@ -102,19 +102,16 @@ jobs:

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

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

- name: Start Server
run: npx http-server docs -p 9001 & npx wait-on http://localhost:9001

- name: Integration tests
run: yarn cypress run --record --parallel
run: yarn cypress run --component --record --parallel
env:
# Github Actions doesn't support encryption on forks
# If these keys become compromised, we will rotate and disable these features
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

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

# Run the release job to publish the next major version to npm
- uses: Workday/canvas-kit-actions/release@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

- uses: Workday/canvas-kit-actions/release@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

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

- uses: Workday/canvas-kit-actions/release@v1
with:
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/reviewer-lottery.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '18 21 * * 4'
- cron: '36 23 * * 1'
push:
branches: [ "master" ]

Expand Down
Loading

0 comments on commit 9f56fb3

Please sign in to comment.