This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
[frontend] remake goods item #342
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 | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
lint: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
- name: Install Dependencies | |
run: cd frontend && npm ci | |
- name: Run Linter | |
run: cd frontend && npm run lint | |
build: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
- name: Install Dependencies | |
run: cd frontend && npm ci | |
- name: Run Build | |
run: cd frontend && npm run build |