Skip to content

Commit

Permalink
add next.js build as ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
maaaathis committed Feb 5, 2024
1 parent 6f1b0dd commit c36cea3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches:
- '**'
pull_request:
branches:
- main

jobs:
build:
name: Next.js build
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn

- name: Install Dependencies
run: yarn install --immutable

- name: Run build
run: yarn run build
2 changes: 1 addition & 1 deletion .github/workflows/test.yml → .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Testing
name: Style

on:
push:
Expand Down

0 comments on commit c36cea3

Please sign in to comment.