diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 3009f816..43353d88 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -18,7 +18,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 }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | rustup toolchain install nightly 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 72113766..00000000 --- a/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -dist: xenial -language: node_js -node_js: - - "10" -env: - global: - - CC_TEST_REPORTER_ID=979056b20f7c89193ed7b4cdcd6bb6252231f069171fd73b072d0da6f5dd2338 -addons: - apt: - sources: ['ubuntu-toolchain-r-test'] - packages: ['cmake', 'g++-5'] -cache: - cargo: true - yarn: true - directories: - - node_modules -compiler: - - clang -before_install: - - curl -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=nightly -y - - 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:$HOME/.cargo/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 e020875b..ac9f3a92 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,8 @@ }, "devDependencies": { "@babel/core": "^7.6.0", - "@polkadot/dev": "^0.32.0-beta.4", - "@polkadot/util": "^1.6.0-beta.3", + "@polkadot/dev": "^0.32.0-beta.6", + "@polkadot/util": "^1.5.1", "override-require": "^1.1.1" } } diff --git a/yarn.lock b/yarn.lock index 5526f5b5..a6ffc42e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1916,10 +1916,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" @@ -1961,10 +1961,10 @@ typescript "^3.6.3" vuepress "^1.1.0" -"@polkadot/util@^1.6.0-beta.3": - version "1.6.0-beta.3" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-1.6.0-beta.3.tgz#f0a735310867b4415a0402922e8de56b3b3f51d2" - integrity sha512-PAoDqQQxxvqnlgrdxY79dEV8wJRf/es2k3BLIbb1zOsxJDnxLE1gTmVPfhootwkZzCpIqNe4NGmccWbAE1fO/g== +"@polkadot/util@^1.5.1": + version "1.5.1" + resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-1.5.1.tgz#acc6d1fd041959a1a781ee2a4d0fc8dae99d4e1a" + integrity sha512-eK0FT251GZ/pZY4HjVm4E14w02cLzJLriY8FAqM+hKoNkkqN/0CIijZWMS89e91emAxQxFbQnJqFQyA6e8e3Rw== dependencies: "@babel/runtime" "^7.6.2" "@types/bn.js" "^4.11.5"