mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 06:47:59 +00:00
Swap CI to GH actions (#227)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user