Skip to content

updated ci

updated ci #4

Workflow file for this run

name: NestJS CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
services:
image: postges:latest
ports:
- 5432:5432

Check failure on line 15 in .github/workflows/first-action.yml

View workflow run for this annotation

GitHub Actions / NestJS CI

Invalid workflow file

The workflow is not valid. .github/workflows/first-action.yml (Line: 15, Col: 9): A sequence was not expected .github/workflows/first-action.yml (Line: 17, Col: 9): Unexpected value 'POSTGRES_USER'
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test