Skip to content

Fix pipeline

Fix pipeline #9

Workflow file for this run

name: Build and lint Backend
on:
push:
branches: main
defaults:
run:
shell: bash
working-directory: ./backend
jobs:
linting:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 22
- name: Install Node.js dependencies
run: npm install && npm install -g eslint && npm install -g prettier
- name: Run linters
uses: wearerequired/lint-action@v2
with:
github_token: ${{ secrets.github_token }}
prettier: true
auto_fix: true