From 5bfec3def27d119edf8c68b77ac4ddfa8b85797d Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Sat, 9 Sep 2023 08:40:37 +0100 Subject: [PATCH] Test bun instead of node --- .gitea/workflows/build.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a661c65..2094488 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,5 +1,5 @@ name: Build -on: +on: push: branches: - master @@ -14,18 +14,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: 🔧 Setup node - uses: https://github.com/actions/setup-node@v3 + - name: 🔧 Setup bun + uses: https://github.com/oven-sh/setup-bun@v1 + with: + bun-version: "1.0.0" - name: 🧱 Install node packages - run: npm ci + run: bun i - name: ✅ svelte-check - run: npm run check + run: bun run check - name: 🔨 Build project - run: npm run build + run: bun run build - name: upload artifact run: | tar -czf build.tar.gz build curl --user minijack:${{ secrets.PACKAGE_TOKEN }} \ --upload-file build.tar.gz \ https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz - echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz \ No newline at end of file + echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz