Skip to content
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

Tooling updates #3681

Merged
merged 29 commits into from
Oct 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,14 @@
}
}
},
"ignorePatterns": ["**/*.d.ts", "**/*.js"],
"ignorePatterns": ["**/*.d.ts", "**/*.js", "website/**/*"],
"rules": {
"arrow-parens": ["error", "as-needed"],
"class-methods-use-this": "off",
"import/no-cycle": "off",
"no-restricted-exports": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/space-before-function-paren": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/quotes": "off",
"@typescript-eslint/comma-dangle": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-param-reassign": "off",
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"max-classes-per-file": "off",
"prettier/prettier": "error"
}
}
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Main

on:
push:
branches: [develop]

concurrency:
group: main-build
cancel-in-progress: true

jobs:
test:
uses: ./.github/workflows/test.yml
9 changes: 9 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Pull Requests

on:
pull_request:
branches: [develop]

jobs:
test:
uses: ./.github/workflows/test.yml
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
workflow_call:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
browser: [
mac-chrome-latest,
mac-firefox-latest,
mac-safari-latest,
windows-chrome-latest,
windows-firefox-latest,
windows-edge-latest,
ios-latest,
# android-latest,
]

steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm

- run: npm ci
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1
- run: npm run lint
- run: npm run test:unit:ci
env:
BROWSER: ${{ matrix.browser }}
- run: npm run test:random
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
!.eslintrc.json
!.eslintignore
!.npmignore
!.gitignore
!.github

/dist
/node_modules
/selenium
/docs/_site
/src
*.d.ts
*.js.map
Expand Down
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions Gemfile

This file was deleted.

253 changes: 0 additions & 253 deletions Gemfile.lock

This file was deleted.

Loading