Skip to content

Merge pull request #16 from malba-blockchain/patch-1 #38

Merge pull request #16 from malba-blockchain/patch-1

Merge pull request #16 from malba-blockchain/patch-1 #38

Workflow file for this run

name: Test workflow
on: push
jobs:
lint:
name: Lint sources
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: "actions/checkout@master"
- name: Set Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Lint sources
run: npm run lint
unit_test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: "actions/checkout@master"
- name: Set Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Run test
run: npm run test