Skip to content

Commit

Permalink
Added github checks for build
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-in-a-box committed Nov 25, 2024
1 parent ca1df9a commit 94fcba0
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and Test

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

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

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

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn install

- name: Build Next.js app
run: yarn run build --workspace=apps/nextjs

- name: Build Vite app
run: yarn run build --workspace=apps/vite

0 comments on commit 94fcba0

Please sign in to comment.