forked from LiskArchive/lisk-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (30 loc) · 927 Bytes
/
branch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "Branch"
on:
push:
branches: [ "development", feature/*, hotfix/*, main, release/* ]
jobs:
code-cov-canary:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install
uses: ./.github/actions/prepare-install
- name: Build
uses: ./.github/actions/prepare-build
with:
cache-key: ${{ github.ref }}
- run: yarn test:ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage-final.json
name: codecov-umbrella
- run: npm config set //npm.klayr.one//:_authToken=$NPM_TOKEN
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
run: npx lerna publish --canary --preid canary --registry https://npm.klayr.one --yes