diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d265af2cb4..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: 2 -jobs: - build: - branches: - ignore: - - gh-pages - working_directory: ~/polkadot-js - docker: - - image: circleci/node:10 - steps: - - checkout - - restore_cache: - key: dependency-cache-{{ checksum "yarn.lock" }} - - run: - name: install-apt - command: sudo apt-get install libusb-1.0.0 - - run: - name: install-deps - command: yarn install --frozen-lockfile - - save_cache: - key: dependency-cache-{{ checksum "yarn.lock" }} - paths: - - ./node_modules - - ~/.cache/yarn - - run: - name: build - command: yarn polkadot-dev-circleci-build diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 8d41a0a6eb..0e0acc61c5 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -19,6 +19,12 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: build + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + GH_PAT: ${{ secrets.GH_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn install --frozen-lockfile - yarn build + ./packages/dev/scripts/polkadot-dev-ghact-build.sh + ./packages/dev/scripts/polkadot-dev-ghact-deploy.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9f30538024..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -language: node_js -node_js: - - "10" -env: - global: - - CC_TEST_REPORTER_ID=2e7a4e12a9039fd1b3721e79e2efa92e1d4925af092679f3d106428e01373436 - - GH_PAGES_SRC="packages/apps/build" -cache: - yarn: true - directories: - - node_modules -before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash - - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - - chmod +x ./cc-test-reporter - - export PATH=$HOME/.yarn/bin:$PATH -before_script: - - ./cc-test-reporter before-build -script: - - yarn polkadot-dev-travis-build -after_script: - - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT -deploy: - skip_cleanup: true - provider: script - script: yarn polkadot-dev-travis-deploy - on: - branch: master