Skip to content

Commit

Permalink
Add CodecovCI token (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Monteth committed Apr 22, 2024
1 parent 794d4d7 commit 4b3f109
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 55 deletions.
136 changes: 86 additions & 50 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,104 @@
'Area: Bridge':
- 'packages/uniforms-bridge-graphql/**/*'
- 'packages/uniforms-bridge-json-schema/**/*'
- 'packages/uniforms-bridge-simple-schema-2/**/*'
- 'packages/uniforms-bridge-simple-schema/**/*'
- 'packages/uniforms-bridge-zod/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bridge-graphql/**/*
- packages/uniforms-bridge-json-schema/**/*
- packages/uniforms-bridge-simple-schema-2/**/*
- packages/uniforms-bridge-simple-schema/**/*
- packages/uniforms-bridge-zod/**/*
'Area: Core':
- 'packages/uniforms/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms/**/*
'Area: Docs':
- 'CODE_OF_CONDUCT.md'
- 'LICENSE'
- 'README.md'
- 'docs/**/*'
- 'reproductions/**/*'
- 'website/**/*'
- changed-files:
- any-glob-to-any-file:
- CODE_OF_CONDUCT.md
- LICENSE
- README.md
- docs/**/*
- reproductions/**/*
- website/**/*
'Area: Infra':
- '.editorconfig'
- '.eslintignore'
- '.eslintrc.json'
- '.github/**/*'
- '.gitignore'
- '.lintstagedrc.js'
- '.prettierignore'
- '.prettierrc.js'
- '.stylelintrc'
- 'jest.config.js'
- 'lerna.json'
- 'package-lock.json'
- 'package.json'
- 'scripts/**/*'
- 'tsconfig.build.json'
- 'tsconfig.global.json'
- 'tsconfig.json'
- changed-files:
- any-glob-to-any-file:
- .editorconfig
- .eslintignore
- .eslintrc.json
- .github/**/*
- .gitignore
- .lintstagedrc.js
- .prettierignore
- .prettierrc.js
- .stylelintrc
- jest.config.js
- lerna.json
- package-lock.json
- package.json
- scripts/**/*
- tsconfig.build.json
- tsconfig.global.json
- tsconfig.json
'Area: Theme':
- 'packages/uniforms-antd/**/*'
- 'packages/uniforms-bootstrap3/**/*'
- 'packages/uniforms-bootstrap4/**/*'
- 'packages/uniforms-bootstrap5/**/*'
- 'packages/uniforms-material/**/*'
- 'packages/uniforms-mui/**/*'
- 'packages/uniforms-semantic/**/*'
- 'packages/uniforms-unstyled/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-antd/**/*
- packages/uniforms-bootstrap3/**/*
- packages/uniforms-bootstrap4/**/*
- packages/uniforms-bootstrap5/**/*
- packages/uniforms-material/**/*
- packages/uniforms-mui/**/*
- packages/uniforms-semantic/**/*
- packages/uniforms-unstyled/**/*
'Bridge: GraphQL':
- 'packages/uniforms-bridge-graphql/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bridge-graphql/**/*
'Bridge: JSON Schema':
- 'packages/uniforms-bridge-json-schema/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bridge-json-schema/**/*
'Bridge: SimpleSchema':
- 'packages/uniforms-bridge-simple-schema/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bridge-simple-schema/**/*
'Bridge: SimpleSchema (v2)':
- 'packages/uniforms-bridge-simple-schema-2/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bridge-simple-schema-2/**/*
'Bridge: Zod':
- 'packages/uniforms-bridge-zod/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bridge-zod/**/*
'Theme: AntD':
- 'packages/uniforms-antd/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-antd/**/*
'Theme: Bootstrap 3':
- 'packages/uniforms-bootstrap3/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bootstrap3/**/*
'Theme: Bootstrap 4':
- 'packages/uniforms-bootstrap4/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bootstrap4/**/*
'Theme: Bootstrap 5':
- 'packages/uniforms-bootstrap5/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-bootstrap5/**/*
'Theme: Material-UI':
- 'packages/uniforms-material/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-material/**/*
'Theme: MUI':
- 'packages/uniforms-mui/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-mui/**/*
'Theme: Semantic UI':
- 'packages/uniforms-semantic/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-semantic/**/*
'Theme: Unstyled':
- 'packages/uniforms-unstyled/**/*'
- changed-files:
- any-glob-to-any-file:
- packages/uniforms-unstyled/**/*
10 changes: 6 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4.1.1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.2
with:
cache: npm
node-version: ${{ matrix.node-version }}
Expand All @@ -30,14 +30,16 @@ jobs:
- name: Test
run: npm run coverage -- --no-cache --runInBand
- name: Report coverage
uses: codecov/codecov-action@v3.1.1
uses: codecov/codecov-action@v4.3.0
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build docs
run: npm --prefix website run build
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.node-version == '20.x'
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3.9.2
uses: peaceiris/actions-gh-pages@v4.0.0
with:
allow_empty_commit: true
cname: uniforms.tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Update labels
uses: actions/labeler@v4.0.3
uses: actions/labeler@v5.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true

0 comments on commit 4b3f109

Please sign in to comment.