Skip to content

Remove environment variables from CI/CD workflow configuration #2

Remove environment variables from CI/CD workflow configuration

Remove environment variables from CI/CD workflow configuration #2

Workflow file for this run

# .github/workflows/ci.yml
name: CI/CD
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16 # Or your desired Node.js version
- name: Install server dependencies
run: cd server && npm install && cd ..
- name: Install client dependencies
run: cd client && npm install && cd ..
- name: Run server tests
run: npm test --prefix server
- name: Run client tests
run: npm test --prefix client
- name: Build Docker images
run: docker compose build