Skip to content

Commit

Permalink
Add CI Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Dec 4, 2023
1 parent 19283d6 commit 4c0fbbf
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI Build

on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- run: yarn --version

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Lint
run: yarn workspaces run lint

- name: Run TypeScript Compiler
run: yarn workspaces run tsc

- name: Build
run: yarn workspaces run build

- name: Test
run: yarn workspaces run test --ci

0 comments on commit 4c0fbbf

Please sign in to comment.