mirror of
https://github.com/stakwork/sphinx-relay.git
synced 2026-08-13 12:33:24 +02:00
* adding unit testing to the node project * added to git workflow * added some more coverage and updated workflow so the label is correct * added some more coverage and updated workflow so the label is correct * remove unused dependency * added new test file for json
19 lines
343 B
YAML
19 lines
343 B
YAML
name: unit-test (Pull Request)
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint (Pull Request)
|
|
runs-on:
|
|
- ubuntu-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
- name: install npm dependencies
|
|
run: npm i
|
|
- name: run tests
|
|
run: npm run test-unit
|
|
|