Skip to content

Commit

Permalink
update rrweb to #947 (#83)
Browse files Browse the repository at this point in the history
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
7 people authored Aug 2, 2022
1 parent 8168bc6 commit af64282
Show file tree
Hide file tree
Showing 114 changed files with 149,350 additions and 2,030 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.yarn/releases/** binary
/.yarn/plugins/** binary
47 changes: 47 additions & 0 deletions .github/workflows/eslint.yml
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'
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.idea
node_modules
package-lock.json
# yarn.lock

temp

Expand All @@ -17,3 +16,7 @@ build
dist

.turbo

# `.yarn/install-state.gz` is an optimization file that you shouldn't ever have to commit.
# It simply stores the exact state of your project so that the next commands can boot without having to resolve your workspaces all over again.
.yarn/install-state.gz
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ install:
- yarn

script:
- yarn lerna run prepublish
- yarn lerna run check-types
- yarn build:all
- yarn turbo run check-types
- xvfb-run --server-args="-screen 0 1920x1080x24" yarn lerna run test
Loading

0 comments on commit af64282

Please sign in to comment.