Skip to content

Commit

Permalink
Add build step to CI action (#168)
Browse files Browse the repository at this point in the history
* remove react-icons

* add next.js build as ci action

* only run ci on main pull / push
  • Loading branch information
maaaathis authored Feb 5, 2024
1 parent a7a459a commit a079c85
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:
- main
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

1 comment on commit a079c85

@vercel
Copy link

@vercel vercel bot commented on a079c85 Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

digga – ./

digga-git-main-maathis.vercel.app
digger.vercel.app
digga.dev
digga-maathis.vercel.app

Please sign in to comment.