corpus

Log | Files | Refs | README | LICENSE

commit 52d0dcafc79b03d9034d54f555d4e7f7bf2a1907
parent 78575bf44d136638156eb188890834543c237c38
Author: mtmn <miro@haravara.org>
Date:   Sun,  3 May 2026 00:03:29 +0200

chore: remove github workflows

Diffstat:
D.github/workflows/release-please.yml | 44--------------------------------------------
D.github/workflows/test.yml | 29-----------------------------
2 files changed, 0 insertions(+), 73 deletions(-)

diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml @@ -1,44 +0,0 @@ -on: - push: - branches: - - master -permissions: - contents: write - pull-requests: write -jobs: - release-please: - runs-on: ubuntu-latest - outputs: - prs_created: ${{ steps.release.outputs.prs_created }} - pr_branch: ${{ steps.release.outputs.prs_created == 'true' && fromJSON(steps.release.outputs.pr).headBranchName || '' }} - steps: - - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 - id: release - with: - token: ${{ secrets.GITHUB_TOKEN }} - test: - needs: [release-please, update-nix-hash] - if: ${{ needs.release-please.outputs.prs_created == 'true' }} - uses: ./.github/workflows/test.yml - with: - ref: ${{ needs.release-please.outputs.pr_branch }} - update-nix-hash: - runs-on: ubuntu-latest - needs: release-please - if: ${{ needs.release-please.outputs.prs_created == 'true' }} - steps: - - uses: DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25 # v22 - - name: Update npmDepsHash - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: ${{ needs.release-please.outputs.pr_branch }} - run: | - git clone --depth=1 --branch="$BRANCH" \ - "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" . - hash=$(nix run nixpkgs#prefetch-npm-deps -- package-lock.json) - sed -i "s|npmDepsHash = \"sha256-[^\"]*\"|npmDepsHash = \"$hash\"|" flake.nix - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add flake.nix - git diff --staged --quiet || git commit -m "chore: update npmDepsHash" - git push diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -1,29 +0,0 @@ -on: - push: - workflow_call: - inputs: - ref: - type: string - required: false - -jobs: - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ inputs.ref }} - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 - with: - node-version: '24' - cache: npm - - name: Install dependencies - run: npm ci - - name: Cache spago packages - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 - with: - path: ~/.cache/spago-nodejs - key: spago-${{ hashFiles('spago.lock') }} - restore-keys: spago- - - name: Run tests - run: npm run build && npm test