Skip to content

Refactor/improve standards #20

Refactor/improve standards

Refactor/improve standards #20

name: Test Suite
on:
pull_request:
branches: [master]
jobs:
test-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Linting
run: npm run eslint
- name: Run tests
run: npm run test
- name: Build
run: npm run build