- new workflows - linting commands & linted stuff - security checks & fixed audited vulnerabilities - updated documentation
26 lines
424 B
YAML
26 lines
424 B
YAML
name: Test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
run-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v2
|
|
-
|
|
name: Setup node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '14.x'
|
|
-
|
|
name: Install dependencies
|
|
run: npm ci
|
|
-
|
|
name: Run tests
|
|
run: npm run test:unit
|