name: Build on: push: branches: - master pull_request: branches: - master 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: 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