add api job

pull/5370/head
filip mertens 3 years ago
parent ad659166b7
commit e5a6ebab4e
  1. 55
      .circleci/config.yml

@ -54,33 +54,6 @@ jobs:
- run: cd dist/libs/remix-tests && npm install
- run: npm run test:libs
remix-ide-plugin-api:
docker:
# specify the version you desire here
- image: circleci/node:14.17.6-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
resource_class: xlarge
# - image: circleci/mongo:3.4.4
environment:
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org"
- COMMIT_AUTHOR: "Circle CI"
- FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/runtime.js dist/apps/remix-ide/vendor.js dist/apps/remix-ide/favicon.ico"
working_directory: ~/remix-project
steps:
- checkout
- run: npm install
- run: npx nx build remix-ide --with-deps
- run: npx nx build remix-ide-e2e-src-local-plugin
- run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh
- store_test_results:
path: /tmp/test-results
- store_artifacts:
path: /tmp/artifacts
remix-ide-chrome-1:
docker:
# specify the version you desire here
@ -282,7 +255,32 @@ jobs:
- store_artifacts:
path: ./reports/screenshots
remix-ide-plugin-api:
docker:
# specify the version you desire here
- image: circleci/node:14.17.6-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
resource_class: xlarge
# - image: circleci/mongo:3.4.4
environment:
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org"
- COMMIT_AUTHOR: "Circle CI"
- FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/runtime.js dist/apps/remix-ide/vendor.js dist/apps/remix-ide/favicon.ico"
working_directory: ~/remix-project
steps:
- checkout
- run: npm install
- run: npx nx build remix-ide --with-deps
- run: npx nx build remix-ide-e2e-src-local-plugin
- run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh
- store_test_results:
path: /tmp/test-results
- store_artifacts:
path: /tmp/artifacts
deploy-remix-live:
docker:
# specify the version you desire here
@ -402,6 +400,9 @@ workflows:
- remix-libs:
requires:
- lint
- remix-ide-plugin-api:
requires:
- lint
- remix-ide-chrome-1:
requires:
- lint

Loading…
Cancel
Save