-
-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update React to v18 & AntD to v5 (#1376)
Co-authored-by: Adrian Mucha <[email protected]> Co-authored-by: Adrian Mucha <[email protected]>
- Loading branch information
1 parent
2b680f2
commit 36eb052
Showing
50 changed files
with
12,664 additions
and
30,086 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -14,55 +14,40 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
cache: npm | ||
cache: pnpm | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Check dependency duplications | ||
uses: vazco/open-standards/actions/npm-dependency-duplications/@master | ||
|
||
- name: Check dependency vulnerabilities | ||
uses: vazco/open-standards/actions/npm-dependency-vulnerabilities/@master | ||
|
||
- name: Install | ||
run: npm i -g npm@8 --no-audit && npm ci --no-audit | ||
- name: Lint | ||
run: npm run lint | ||
run: pnpm install | ||
|
||
- name: Check linting | ||
run: pnpm lint:code | ||
|
||
- name: Check formatting | ||
run: pnpm lint:text | ||
|
||
- name: Check types | ||
run: pnpm lint:types | ||
|
||
- name: Test | ||
run: npm run coverage -- --no-cache --runInBand | ||
run: pnpm coverage | ||
|
||
- name: Report coverage | ||
uses: codecov/[email protected] | ||
with: | ||
fail_ci_if_error: true | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
Docs: | ||
runs-on: ubuntu-latest | ||
needs: CI | ||
if: success() && github.event_name == 'push' && github.ref == 'refs/heads/master' | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Use Node.js 20 | ||
uses: actions/[email protected] | ||
with: | ||
cache: npm | ||
node-version: 20 | ||
- name: Install | ||
run: npm ci --no-audit | ||
- name: Build docs | ||
run: npm --prefix website run build | ||
- name: Deploy docs | ||
uses: peaceiris/[email protected] | ||
with: | ||
allow_empty_commit: true | ||
cname: uniforms.tools | ||
force_orphan: true | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./website/build | ||
- name: Create a concentrated doc file | ||
run: node ./scripts/concatenateDocs.js . uniformsConcentratedDocs.md | ||
- name: Upload the concentrated doc file as an artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: uniformsConcentratedDocs-${{ github.sha }}-${{ github.run_id }}-$(date +'%Y-%m-%d').md | ||
path: uniformsConcentratedDocs.md |
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 |
---|---|---|
@@ -1,19 +1,10 @@ | ||
/.idea | ||
/.parcel-cache | ||
/coverage | ||
.DS_Store | ||
.idea/ | ||
.parcel-cache/ | ||
.turbo | ||
coverage/ | ||
dist/ | ||
node_modules/ | ||
|
||
/node_modules | ||
/npm-debug.log | ||
/npm-debug.log* | ||
/packages/*/cjs | ||
/packages/*/esm | ||
/packages/*/node_modules | ||
/reproductions/dist | ||
/reproductions/node_modules | ||
/reproductions/.parcel-cache | ||
/website/.cache-loader | ||
/website/.docusaurus | ||
/website/build | ||
/website/node_modules |
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,4 @@ | ||
# https://github.com/testing-library/jest-dom/issues/442#issuecomment-1325926509 | ||
public-hoist-pattern[]=*eslint* | ||
public-hoist-pattern[]=*prettier* | ||
public-hoist-pattern[]=@types* |
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.