Migrate from Travis to GH actions (#12412)
* Migrate linting to GH actions * Migrate windows tests * Migrate parser tests * Update .github/workflows/ci.yml Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> * Run parser tests in a single job * Use a single yarn cache * Remove unused commands from Makefile * Update .github/workflows/ci.yml Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com> Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
This commit is contained in:
19
Makefile
19
Makefile
@@ -82,15 +82,9 @@ build-no-bundle: clean clean-lib
|
||||
# Babel-transform-fixture-test-runner requires minified polyfill for performance
|
||||
$(MAKE) generate-type-helpers build-typings build-polyfill-dist
|
||||
|
||||
build-no-bundle-ci: bootstrap-only
|
||||
$(MAKE) build-no-bundle
|
||||
|
||||
watch: build-no-bundle
|
||||
BABEL_ENV=development $(YARN) gulp watch
|
||||
|
||||
code-quality-ci: build-no-bundle-ci
|
||||
$(MAKE) tscheck flowcheck-ci lint-ci
|
||||
|
||||
flowcheck-ci:
|
||||
$(MAKE) flow
|
||||
|
||||
@@ -161,9 +155,7 @@ test-only:
|
||||
|
||||
test: lint test-only
|
||||
|
||||
test-ci: jest-ci
|
||||
|
||||
jest-ci: build-standalone-ci
|
||||
test-ci: build-standalone-ci
|
||||
BABEL_ENV=test $(YARN) jest --maxWorkers=4 --ci
|
||||
$(MAKE) test-clean
|
||||
|
||||
@@ -182,9 +174,6 @@ bootstrap-flow:
|
||||
test-flow:
|
||||
$(NODE) scripts/parser-tests/flow
|
||||
|
||||
test-flow-ci: build-bundle-ci bootstrap-flow
|
||||
$(MAKE) test-flow
|
||||
|
||||
test-flow-update-allowlist:
|
||||
$(NODE) scripts/parser-tests/flow --update-allowlist
|
||||
|
||||
@@ -197,9 +186,6 @@ bootstrap-typescript:
|
||||
test-typescript:
|
||||
$(NODE) scripts/parser-tests/typescript
|
||||
|
||||
test-typescript-ci: build-bundle-ci bootstrap-typescript
|
||||
$(MAKE) test-typescript
|
||||
|
||||
test-typescript-update-allowlist:
|
||||
$(NODE) scripts/parser-tests/typescript --update-allowlist
|
||||
|
||||
@@ -212,9 +198,6 @@ bootstrap-test262:
|
||||
test-test262:
|
||||
$(NODE) scripts/parser-tests/test262
|
||||
|
||||
test-test262-ci: build-bundle-ci bootstrap-test262
|
||||
$(MAKE) test-test262
|
||||
|
||||
test-test262-update-allowlist:
|
||||
$(NODE) scripts/parser-tests/test262 --update-allowlist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user