Skip to content

fixing middleware build issues #6

fixing middleware build issues

fixing middleware build issues #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Set up environment variables
run: |
if [ -f .env.example ]; then cp .env.example .env; fi
export $(grep -v '^#' .env | xargs) || true
- name: Linting
run: npm run lint
- name: Testing
run: npm test
- name: Build
run: npm run build