Skip to content

Name change

Name change #123

Workflow file for this run

name: SSI-SDK CI
on:
push:
pull_request:
branches:
- main
jobs:
build:
name: 'Run build and test'
runs-on: ubuntu-latest
outputs:
branch_name: ${{ steps.meta.outputs.branch_name }}
should_deploy: ${{ steps.meta.outputs.should_deploy }}
strategy:
matrix:
node-version: ['16.x']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build --if-present
- name: Run lint
run: npm run lint
- name: Run unit tests
run: npm test
- name: Run hardhat tests
run: npx hardhat test