Skip to content

create basic workflow #2

create basic workflow

create basic workflow #2

Workflow file for this run

name: Backend build CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
env:
APP_PATH: server/ecommerce
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Installing dependencies
<<<<<<< HEAD

Check failure on line 15 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
run: cd $APP_PATH && npm i
=======
run: cd $APP_PATH$ && npm i
>>>>>>> 586616abb90cf58674577cf6f7e8391fa7029e31
- name: Run tests
run: cd $APP_PATH$ && npm test