Skip to content

do not merge Trying update some deps #8

do not merge Trying update some deps

do not merge Trying update some deps #8

Workflow file for this run

name: Node CI
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
env:
CI: true
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
services:
postgres:
image: postgres:12-alpine
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
node-version: [12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, build, and test
run: |
npm install
npm run lint
npm run build
npm test