chore: π§βπ» add editorconfig to vscode recomendations #40
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Node Dependencies | |
run: npm ci | |
- name: Check Prettier | |
run: npm run prettier | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Node Dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Node Dependencies | |
run: npm ci | |
- name: Vite Build | |
run: npm run build | |
- name: Upload Build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: compsci-class-scraper | |
path: dist |