Skip to content

feat: Release v1.1.0 #48

feat: Release v1.1.0

feat: Release v1.1.0 #48

name: Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build_and_test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x, 20.5.1]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
- name: Run Linter
run: npm run lint
- name: Build
run: npm run build --if-present
- name: Start App
run: npm run start &
- name: Run Tests
run: npm run test