Bump faasjs from 0.0.5-beta.2 to 0.0.5-beta.3 #1414
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Api Unit | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'packages/api/**' | |
pull_request: | |
paths: | |
- 'packages/api/**' | |
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/[email protected] | |
with: | |
cache: 'npm' | |
- name: Install | |
run: | | |
npm install -g npm@latest | |
npm install | |
- name: Test | |
run: |- | |
npm run ci:api | |
env: | |
SECRET_KNEX_CONNECTION: postgres://postgres:postgres@localhost:5432/testing |