-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge up to rrweb-io/rrweb#947 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com> Co-authored-by: Yun Feng <yun.feng@anu.edu.au> Co-authored-by: Yanzhen Yu <yanzhen@smartx.com> Co-authored-by: Jimmy Liu <sicong.liu98@gmail.com> Co-authored-by: Eoghan Murray <eoghan@getthere.ie>
- Loading branch information
1 parent
8168bc6
commit af64282
Showing
114 changed files
with
149,350 additions
and
2,030 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.yarn/releases/** binary | ||
/.yarn/plugins/** binary |
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,47 @@ | ||
name: Eslint Check | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
eslint_check_upload: | ||
runs-on: ubuntu-latest | ||
name: ESLint Check and Report Upload | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
cache: 'yarn' | ||
- name: Install Dependencies | ||
run: yarn | ||
- name: Build Packages | ||
run: yarn build:all | ||
- name: Test Code Linting | ||
run: yarn turbo run lint | ||
- name: Save Code Linting Report JSON | ||
run: yarn lint:report | ||
# Continue to the next step even if this fails | ||
continue-on-error: true | ||
- name: Upload ESLint report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: eslint_report.json | ||
path: eslint_report.json | ||
|
||
Annotation: | ||
# Skip the annotation action in PRs from the forked repositories | ||
if: github.event.pull_request.head.repo.full_name == 'rrweb-io/rrweb' | ||
needs: eslint_check_upload | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: eslint_report.json | ||
- name: Annotate Code Linting Results | ||
uses: ataylorme/eslint-annotate-action@v2 | ||
with: | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' | ||
report-json: 'eslint_report.json' |
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.