Skip to content

Make tests on GitHub CI pass #5

Make tests on GitHub CI pass

Make tests on GitHub CI pass #5

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: 'echo "$ENV" > .env'
shell: bash
env:
ENV: ${{ secrets.env }}
- run: npm ci
- run: npm test