From d31b7630bca195a370134568a77bfb96a057f992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Sat, 15 Jun 2024 03:00:39 +0200 Subject: [PATCH] Test build --- .gitea/workflows/lint.yaml | 10 +++++----- .gitea/workflows/test-build.yaml | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 .gitea/workflows/test-build.yaml diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml index b70f9c8..dba8248 100644 --- a/.gitea/workflows/lint.yaml +++ b/.gitea/workflows/lint.yaml @@ -6,15 +6,15 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: "Install Bun" + - name: Install Bun uses: oven-sh/setup-bun@v1 - - name: "Install Node" + - name: Install Node uses: actions/setup-node@v4 with: node-version: "20" - - name: "Clone repo" + - name: Clone repo uses: actions/checkout@v4 - - name: "Install dependencies" + - name: Install dependencies run: bun install --frozen-lockfile - - name: "Lint TypeScript" + - name: Lint TypeScript run: npm run lint:tsc diff --git a/.gitea/workflows/test-build.yaml b/.gitea/workflows/test-build.yaml new file mode 100644 index 0000000..6033cae --- /dev/null +++ b/.gitea/workflows/test-build.yaml @@ -0,0 +1,22 @@ +# name: Test build +# run-name: Test build +# on: [push] + +# jobs: +# lint: +# runs-on: ubuntu-latest +# steps: +# - name: Install Bun +# uses: oven-sh/setup-bun@v1 +# - name: Install Node +# uses: actions/setup-node@v4 +# with: +# node-version: "20" +# - name: Clone repo +# uses: actions/checkout@v4 +# - name: Install dependencies +# run: bun install --frozen-lockfile +# - name: Build +# run: npm run build +# - name: Pack +# run: npm pack --dry-run