Skip to content

Commit

Permalink
Merge pull request #128 from Descendre/feature/#127
Browse files Browse the repository at this point in the history
add: github workflow
  • Loading branch information
Hinata0607 authored Aug 3, 2024
2 parents b4529ec + c44e6d5 commit f53de5a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/next-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI for NextJS App

on:
push:
branches: [develop]
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Lint code
run: npm run lint

- name: Build for production
run: npm run build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "prisma generate && next build",
"start": "next start",
"lint": "next lint",
"prepare": "husky",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/layouts/mainLayout/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './MainLayout';
export * from './MainLayout2';

0 comments on commit f53de5a

Please sign in to comment.