Skip to content

build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /backend #1

build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /backend

build(deps): bump follow-redirects from 1.15.3 to 1.15.6 in /backend #1

Workflow file for this run

name: Backend CI
on:
push:
branches:
- '**'
paths:
- 'backend/**'
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18 # Choose the Node.js version you are using
- name: Install dependencies
run: |
cd backend
npm install
- name: Run ESLint
run: |
cd backend
npm run lint -- --fix
git diff --exit-code || { git config user.name "GitHub Actions"; git config user.email "[email protected]"; git add .; git commit -m "Auto-fix ESLint issues"; git push origin $GITHUB_REF; }
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18 # Choose the Node.js version you are using
- name: Install dependencies
run: |
cd backend
npm install
- name: Build project
run: |
cd backend
npm run build