diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index f6d2ae80a7..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,24 +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-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/pr-any.yml b/.github/workflows/pr-any.yml index 6379164086..19aad35884 100644 --- a/.github/workflows/pr-any.yml +++ b/.github/workflows/pr-any.yml @@ -32,9 +32,15 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: test + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} run: | + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter yarn install --frozen-lockfile + ./cc-test-reporter before-build yarn test + ./cc-test-reporter after-build --exit-code 0 build_code: name: Build Code diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 8d41a0a6eb..2d826c455f 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -19,6 +19,13 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: build + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + GH_PAT: ${{ secrets.GH_PAT }} + GH_PAGES_SRC: build-docs + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn install --frozen-lockfile - yarn build + yarn polkadot-dev-ghact-build + yarn polkadot-dev-ghact-deploy diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2c1f14acd6..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -language: node_js -node_js: - - "10" -env: - global: - - CC_TEST_REPORTER_ID=b8983d04997f43ff9b9df9aa92904967547680e2a229af812b3cf14985713e84 - - GH_PAGES_SRC="build-docs" -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::$(yarn global 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 diff --git a/package.json b/package.json index 6e4316234a..87a2baf1db 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "@babel/core": "^7.6.2", "@babel/register": "^7.6.2", "@babel/runtime": "^7.6.2", - "@polkadot/dev": "^0.32.0-beta.4", - "@polkadot/ts": "^0.1.78", + "@polkadot/dev": "^0.32.0-beta.6", + "@polkadot/ts": "^0.1.80", "gh-pages": "^2.1.1" } } diff --git a/yarn.lock b/yarn.lock index cdcb5946be..55a458fa50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1777,10 +1777,10 @@ once "^1.4.0" universal-user-agent "^4.0.0" -"@polkadot/dev@^0.32.0-beta.4": - version "0.32.0-beta.4" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.32.0-beta.4.tgz#dee47a0490fcb6d97603396227a20e5c50ee1557" - integrity sha512-IDWrG5q7VxH5ObR6xRdATj6BzNxrbIzgRmVy3FClVaBTwp0E/FAiDveeG1bJwVIco/xpLCA649Gl1aYmSZgIHQ== +"@polkadot/dev@^0.32.0-beta.6": + version "0.32.0-beta.6" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.32.0-beta.6.tgz#e013431e24eefcff6374f12cad6d0b8aee3e8a97" + integrity sha512-GlDmiN99+EvxctoL0TD3Raqfuz9eaOGTbS2Nt/4vQfy7nmLGNdQHU45lIkQag/kdQow5tMsUueaQbARcKcplYw== dependencies: "@babel/cli" "^7.6.2" "@babel/core" "^7.6.2" @@ -1831,10 +1831,10 @@ "@polkadot/util" "^1.5.1" "@polkadot/util-crypto" "^1.5.1" -"@polkadot/ts@^0.1.78": - version "0.1.78" - resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.78.tgz#a1d9db08508c1c7c5e12a07370f9e58b4e9d8a78" - integrity sha512-kBzMYqS5u9fVfrCwO8JmJ0jGCKIqDu27U+o9FoBh0rfTf4pebfse9QV/ed8B0Tu8dvU98LlXpZeXhbp8krJIjA== +"@polkadot/ts@^0.1.80": + version "0.1.80" + resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.80.tgz#6c8acc72e453993e22c9ced53c1b5913650b97b9" + integrity sha512-/8Dpku/ZeyWIQicz4p/4yblNKavDvPcSVbFMfPLfSLtZBSHTW5XytIwZWxrwB3Y+zoGf8bzNLBSSxk+EDJhXJg== dependencies: "@types/chrome" "^0.0.89"