Merge pull request #171 from c4dt/test_docker_build #337
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |