[CI] Create pipelines for changing information #2
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: π©π»βπ»π Portfolio CI | |
defaults: | |
run: | |
working-directory: . | |
on: | |
pull_request: | |
paths: | |
- "**" | |
branches: [main] | |
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 |