Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
build
17 changes: 15 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
tests:
name: instant-meilisearch-tests
name: integration-tests
runs-on: ubuntu-latest

steps:
Expand All @@ -32,7 +32,7 @@ jobs:
run: yarn test:demo:browser

style:
name: instant-meilisearch-style-tests
name: style-check
runs-on: ubuntu-latest

steps:
Expand All @@ -41,3 +41,16 @@ jobs:
run: yarn install
- name: Tests style
run: yarn lint

builds:
name: playground-builds
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
- name: Run Vue build
run: yarn build:playground:vue
- name: Run React build
run: yarn build:playground:react
2 changes: 1 addition & 1 deletion bors.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
status = ["instant-meilisearch-tests", "instant-meilisearch-style-tests"]
status = ['integration-tests', 'style-check', 'playground-builds']
# 1 hour timeout
timeout-sec = 3600
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"test:demo:browser": "yarn --cwd examples/express && yarn --cwd examples/express test",
"test:demo:nodejs": "node examples/node/index.js",
"test:demo:esm": "yarn --cwd examples/esm && yarn --cwd examples/esm start",
"build:playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue build",
"build:playground:react": "yarn --cwd ./playgrounds/react && yarn --cwd ./playgrounds/react build",
"test:all": "yarn test && yarn test:demo",
"lint": "eslint --ext .js,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.ts,.tsx --fix .",
"lint": "eslint --ext .js,.ts,.tsx,.vue .",
"lint:fix": "eslint --ext .js,.ts,.tsx,.vue --fix .",
"build": "rollup -c rollup.config.js && rollup --environment NODE_ENV:production -c rollup.config.js ",
"playground:vue": "yarn --cwd ./playgrounds/vue && yarn --cwd ./playgrounds/vue serve",
"playground:react": "yarn --cwd ./playgrounds/react && yarn --cwd ./playgrounds/react start"
Expand Down Expand Up @@ -44,11 +46,11 @@
"@babel/preset-env": "^7.10.4",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"babel-jest": "^26.1.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.1.0",
"eslint": "^7.5.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^6.0.0",
"eslint-config-standard": "^16.0.0",
Expand Down
3 changes: 0 additions & 3 deletions playgrounds/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
Expand Down
Loading