add forgejo action
All checks were successful
Build Check / Test Build (push) Successful in 26s

This commit is contained in:
Shane C 2024-07-02 10:21:12 -04:00
parent 29c6cb9c4a
commit 683d6c7ab6
Signed by: shanec
GPG key ID: E46B5FEA35B22FF9

View file

@ -0,0 +1,27 @@
name: Build Check
on:
push:
branches: ["main"]
jobs:
build:
name: Test Build
runs-on: node20-bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install PNPM
run: |
corepack enable
corepack prepare pnpm@latest --activate
npm i -g typescript
- name: Install packages
run: pnpm i
- name: TypeScript Build
run: tsc
- name: ESLint Check
run: pnpm run lint