Skip to content

Commit

Permalink
feat: fix unit test flow
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Nov 9, 2023
1 parent 6f0c0e4 commit cfc3e4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/unit_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ name: Build and test

# trigger on every commit push and PR for all branches except pushes for backport branches
on:
push:
branches: ['*']
paths-ignore:
- '**/*.md'
- 'docs/**'
pull_request:
branches: ['*']
paths-ignore:
- '**/*.md'
- 'docs/**'
branches:
- "*"
push:
branches:
- "*"
env:
OPENSEARCH_DASHBOARDS_VERSION: '2.x'
NODE_OPTIONS: "--max-old-space-size=6144 --dns-result-order=ipv4first"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"osd": "node ../../scripts/osd",
"build": "yarn plugin-helpers build",
"test": "../../node_modules/.bin/jest --config ./test/jest.config.js",
"test:jest": "../../node_modules/.bin/jest --config ./test/jest.config.js",
"plugin-helpers": "node ../../scripts/plugin_helpers",
"prepare": "husky install",
"lint:es": "node ../../scripts/eslint",
Expand Down

0 comments on commit cfc3e4d

Please sign in to comment.