-
Notifications
You must be signed in to change notification settings - Fork 35
chore: standardize rc tween one config #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d9a8ba7
chore: standardize rc tween one config
afc163 8d9f07e
docs: center README title
afc163 4b87a70
chore: address AI review feedback
afc163 43b1766
docs: standardize README release details
afc163 75f16fc
docs: clarify Ant Design ecosystem note
afc163 d3fe74d
docs: refine README usage and ecosystem note
afc163 ed74b7b
docs: address AI review for tween-one
afc163 964f05b
ci: address preview and doctor review
afc163 c3694ea
chore: address review comments
afc163 d4e91bd
fix: align babel core for legacy tests
afc163 edb905c
docs: update Ant Design logo
afc163 a733fad
docs: add Chinese README
afc163 49a2200
docs: refine bilingual README branding
afc163 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,2 @@ | ||
| github: ant-design | ||
| open_collective: ant-design |
This file contains hidden or 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,43 @@ | ||
| name: CodeQL | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [master] | ||
| schedule: | ||
| - cron: '17 18 * * 2' | ||
|
|
||
| jobs: | ||
| analyze: | ||
| name: Analyze | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| security-events: write | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| language: [javascript] | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@411bbbe57033eedfc1a82d68c01345aa96c737d7 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| queries: +security-and-quality | ||
|
|
||
| - name: Autobuild | ||
| uses: github/codeql-action/autobuild@411bbbe57033eedfc1a82d68c01345aa96c737d7 | ||
|
|
||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@411bbbe57033eedfc1a82d68c01345aa96c737d7 | ||
| with: | ||
| category: '/language:${{ matrix.language }}' | ||
This file contains hidden or 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,113 +1,15 @@ | ||
| name: CI | ||
| name: ✅ test | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master, 3.0] | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| setup: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: checkout | ||
| uses: actions/checkout@master | ||
|
|
||
| - uses: actions/setup-node@v1 | ||
| with: | ||
| node-version: '12' | ||
|
|
||
| - name: cache package-lock.json | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: package-temp-dir | ||
| key: lock-${{ github.sha }} | ||
|
|
||
| - name: create package-lock.json | ||
| run: npm i --package-lock-only | ||
|
|
||
| - name: hack for singe file | ||
| run: | | ||
| if [ ! -d "package-temp-dir" ]; then | ||
| mkdir package-temp-dir | ||
| fi | ||
| cp package-lock.json package-temp-dir | ||
| - name: cache node_modules | ||
| id: node_modules_cache_id | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: node_modules | ||
| key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} | ||
|
|
||
| - name: install | ||
| if: steps.node_modules_cache_id.outputs.cache-hit != 'true' | ||
| run: npm ci | ||
|
|
||
| lint: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: checkout | ||
| uses: actions/checkout@master | ||
|
|
||
| - name: restore cache from package-lock.json | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: package-temp-dir | ||
| key: lock-${{ github.sha }} | ||
|
|
||
| - name: restore cache from node_modules | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: node_modules | ||
| key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} | ||
|
|
||
| - name: lint | ||
| run: npm run lint | ||
| permissions: | ||
| contents: read | ||
|
|
||
| needs: setup | ||
|
|
||
| compile: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: checkout | ||
| uses: actions/checkout@master | ||
|
|
||
| - name: restore cache from package-lock.json | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: package-temp-dir | ||
| key: lock-${{ github.sha }} | ||
|
|
||
| - name: restore cache from node_modules | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: node_modules | ||
| key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} | ||
|
|
||
| - name: compile | ||
| run: npm run compile | ||
|
|
||
| needs: setup | ||
|
|
||
| coverage: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: checkout | ||
| uses: actions/checkout@master | ||
|
|
||
| - name: restore cache from package-lock.json | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: package-temp-dir | ||
| key: lock-${{ github.sha }} | ||
|
|
||
| - name: restore cache from node_modules | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: node_modules | ||
| key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }} | ||
|
|
||
| - name: coverage | ||
| run: npm test -- --coverage && bash <(curl -s https://codecov.io/bash) | ||
|
|
||
| needs: setup | ||
| jobs: | ||
| test: | ||
| uses: react-component/rc-test/.github/workflows/test-utoo.yml@b8ebddc81ef706b50faff0242ab34ad8ecdd9a59 | ||
| secrets: inherit | ||
|
afc163 marked this conversation as resolved.
|
||
This file contains hidden or 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,25 @@ | ||
| name: React Doctor | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [master] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| concurrency: | ||
| group: react-doctor-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| react-doctor: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: millionco/react-doctor@0b4f4f4bd248a154e64eb508a48347f71154b3f3 | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or 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,38 @@ | ||
| name: Surge Preview | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [master] | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| statuses: write | ||
|
|
||
| concurrency: | ||
| group: surge-preview-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| preview: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install --legacy-peer-deps --ignore-scripts --no-audit --loglevel=warn | ||
|
|
||
| - name: Build preview | ||
| if: ${{ secrets.SURGE_TOKEN != '' }} | ||
| run: npm run build | ||
| - uses: afc163/surge-preview@bf90a5a86111f6311ca42f0a5a0f80fb0fb03cec | ||
| if: ${{ secrets.SURGE_TOKEN != '' }} | ||
| env: | ||
| SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} | ||
| with: | ||
| dist: docs-dist | ||
| failOnError: false | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| surge_token: ${{ env.SURGE_TOKEN }} |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -4,4 +4,7 @@ | |
| package.json | ||
| .umi | ||
| .umi-production | ||
| .umi-test | ||
| .umi-test | ||
| src/.umi-production | ||
| docs-dist | ||
| build | ||
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.