This repository has been archived by the owner on Jul 27, 2024. It is now read-only.
Refactor localStorage keys and themes into constants #25
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: Frontend PR Build | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: PR Build | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Use Node 18.x | |
- name: Use Node 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache-dependency-path: frontend/package-lock.json | |
cache: "npm" | |
# Install Packages | |
- name: Install Packages | |
working-directory: frontend | |
run: npm install | |
# Run Lint | |
- name: Run Lint | |
working-directory: frontend | |
run: npm run lint | |
# Build App | |
- name: Build App | |
working-directory: frontend | |
run: npm run build | |
# Upload Artifact | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifact-frontend | |
path: frontend/dist |