Swap CI to GH actions (#227)

This commit is contained in:
Jaco Greeff
2019-10-09 15:52:58 +02:00
committed by GitHub
parent 462b62cc7f
commit 147fec6100
7 changed files with 35 additions and 76 deletions
+6
View File
@@ -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
+9 -1
View File
@@ -19,6 +19,14 @@ 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_TOKEN: ${{ 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