Translating all the website to catalan #8
Workflow file for this run
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 recruiting page CI | |
defaults: | |
run: | |
working-directory: . | |
on: | |
pull_request: | |
branches: [master] | |
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 | |
build: | |
name: π Builder | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
- name: π Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: π¦ Install dependencies | |
run: npm install | |
- name: π Build | |
run: npm run build |