Skip to content

Commit

Permalink
setup gh typescheck action
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Apr 27, 2024
1 parent 5f48cd4 commit 2093552
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
ci:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]

steps:
- name: Checkout
uses: actions/checkout@master

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "pnpm"

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

- name: typecheck
run: pnpm run lint

- name: build
run: pnpm run build

0 comments on commit 2093552

Please sign in to comment.