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

chore: setup top-level Jest tests with Github Actions #257

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -13,14 +13,15 @@ jobs:
matrix:
node: [ '12.16', '16.0' ]
test: [
'flow:check',
'babel-plugin-fbt:test',
'babel-plugin-fbt-runtime:test',
'babel-plugin-fbt:test',
'babel-plugin-standalone:test',
'demo-app:test',
'fb-tiger-hash:test',
'flow:check',
'gulp-rewrite-flowtyped-modules:test',
'gulp-strip-docblock-pragmas:test',
'babel-plugin-standalone:test',
'top-level:test',
]
name: "v${{ matrix.node }}: ${{ matrix.test }}"
steps:
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -104,6 +104,7 @@
"preinstall": "yarn create_dummy_bin_scripts_for_yarn_install",
"test:watch": "jest --watch",
"test": "yarn workspace demo-app test-build-scripts && jest && yarn flow:check",
"top-level:test": "yarn jest __tests__/*",
"watch": "yarn workspace demo-app watch:fbts & yarn babel-plugin-fbt:watch"
},
"resolutions": {
Expand Down