Skip to content

Testing pipeline

Testing pipeline #2

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
uses: actions/checkout@v4
uses: actions/setup-node@v2

Check failure on line 11 in .github/workflows/main_ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main_ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
run: |
cd src/backend
touch .env
echo NODE_ENV=${{ vars.MONGO_DB}} >> .env
echo NODE_ENV=${{ vars.PORT}} >> .env
echo NODE_ENV=${{ vars.JWT_SECRET}} >> .env
echo NODE_ENV=${{ vars.SESSION_SECRET}} >> .env
npm install
npm run build --if-present
npm run test --if-present