Update CI #4

Closed
rgebee wants to merge 99 commits from ci-test into main
Showing only changes of commit 5bfec3def2 - Show all commits

View File

@ -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
echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz