Skip to content

Merge pull request #1539 from faasjs/dependabot/npm_and_yarn/types/re… #451

Merge pull request #1539 from faasjs/dependabot/npm_and_yarn/types/re…

Merge pull request #1539 from faasjs/dependabot/npm_and_yarn/types/re… #451

Workflow file for this run

name: Testing
on:
workflow_dispatch:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:alpine
env:
POSTGRES_DB: testing
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- 5432:5432
options: --health-cmd pg_isready
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: 22
- name: Install
run: npm install
- name: Test
run: npm run ci
env:
SECRET_KNEX_CONNECTION: postgres://postgres:postgres@localhost:5432/testing