Skip to content

Commit

Permalink
feat(ci): lint & build actions
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Pilar <[email protected]>
  • Loading branch information
Tomas Pilar committed Oct 18, 2024
1 parent 9765bfb commit cb460e3
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Main

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

jobs:
lint-compile:
timeout-minutes: 20
name: Lint & Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: TS check
run: pnpm ts:check

0 comments on commit cb460e3

Please sign in to comment.