Skip to content

fix: cicd github active folder contract #4

fix: cicd github active folder contract

fix: cicd github active folder contract #4

Workflow file for this run

name: Frontend
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
frontend-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
working-directory: ./frontend
run: npm install
- name: Run Lint
working-directory: ./frontend
run: npm run lint
- name: Build the project
working-directory: ./frontend
run: npm run build
- name: Upload Production Build as Artifact
uses: actions/upload-artifact@v3
with:
name: nextjs-build
path: ./frontend/.next