Skip to content

Commit

Permalink
feat: add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlc03 committed Aug 27, 2024
1 parent 56483a7 commit 61e005b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
push:
branches: [main]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install
run: |
pnpm install --frozen-lockfile --prefer-offline
- name: Copy .env
run: |
cp .env.example .env
working-directory: packages/interface

- name: Build
run: |
pnpm run build

0 comments on commit 61e005b

Please sign in to comment.