From 683d6c7ab620f643c33396651f087b7e76c22395 Mon Sep 17 00:00:00 2001 From: Shane C Date: Tue, 2 Jul 2024 10:21:12 -0400 Subject: [PATCH] add forgejo action --- .forgejo/workflows/build_check.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .forgejo/workflows/build_check.yml diff --git a/.forgejo/workflows/build_check.yml b/.forgejo/workflows/build_check.yml new file mode 100644 index 0000000..a1b4df8 --- /dev/null +++ b/.forgejo/workflows/build_check.yml @@ -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 \ No newline at end of file