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