Develop to master -> Incibe new partner #264
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: HackUPC CI | |
defaults: | |
run: | |
working-directory: . | |
on: | |
pull_request: | |
branches: [master, develop] | |
workflow_dispatch: | |
env: | |
DEBUG: 1 | |
IMAGE_TAG: ${{ github.job }}-${{ github.sha }} | |
jobs: | |
lint: | |
name: π¦ Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
- name: π Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: π¦ Install dependencies | |
run: npm install | |
- name: π¦ Check format (prettier) | |
run: npm run check-format | |
- name: π¦ Check lint (eslint) | |
run: npm run check-lint |