Skip to content

Merge pull request #1 from veramolabs/nickreynolds/refactor-to-peer #5

Merge pull request #1 from veramolabs/nickreynolds/refactor-to-peer

Merge pull request #1 from veramolabs/nickreynolds/refactor-to-peer #5

Workflow file for this run

name: Build, Test and Publish
on:
workflow_dispatch:
push:
branches:
- 'master'
jobs:
build-test-publish:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: "Setup node with cache"
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn run build
- name: "Setup git coordinates"
run: |
git config user.name uport-automation-bot
git config user.email [email protected]
- name: "Run semantic-release"
env:
GH_TOKEN: ${{secrets.GH_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
if: github.ref == 'refs/heads/master'
run: yarn run release