name: Build on: push: tags: - '*' runs-on: ubuntu-latest jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: 🔧 Setup node uses: https://github.com/actions/setup-node@v3 - name: 🧱 Install node packages run: npm ci - name: ✅ svelte-check run: npm run check - name: 🔨 Build project run: npm run build - name: 📦 Zip project run: tar -czf build.zip build - name: ☁️ Upload artifact run: curl -T build.zip -H 'Authorization: token ${{ secrets.PACKAGE_TOKEN }}' 'https://minijack@git.quartznet.info/api/packages/quartznet/generic/quartznet/${{ gitea.ref }}/quartznet-${{ gitea.ref }}.zip'