Skip to content

Only pushing if merge on main #333

Only pushing if merge on main

Only pushing if merge on main #333

name: Web backend lint
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: Web backend Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web/backend
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Instal dependencies
run: npm install
- name: Adds config file
run: mv config.env.template config.env
- name: run eslint
run: npm run eslint
- name: run prettier-check
run: npm run prettier-check