Skip to content

Commit

Permalink
Add nextjs build ci (#42)
Browse files Browse the repository at this point in the history
* ci: add web build to CI

* chore: Set up web build CI

* chore: Fix version of node

* fix: Remove direct references to window

* ci: Upgrade packages
  • Loading branch information
j6k4m8 authored Aug 19, 2024
1 parent a3e7b82 commit c25d731
Show file tree
Hide file tree
Showing 5 changed files with 460 additions and 27 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/web-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Web Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

# Change directory to motifstudio-web

- name: Install dependencies
run: npm install
working-directory: motifstudio-web

- name: Build Next.js application
run: npm run build
working-directory: motifstudio-web
Loading

0 comments on commit c25d731

Please sign in to comment.