diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 56c56ea..34445b4 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -6,15 +6,15 @@ on: pull_request: branches: [master, develop] -env: - GITHUB_SERVER_URL: https://srvr.nu/git - jobs: lint-and-test: name: Lint, type check, unit tests, coverage runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout repository + run: | + git clone --depth 1 \ + https://x-access-token:${FORGEJO_TOKEN}@srvr.nu/git/jocke/bilhej.git . - uses: actions/setup-node@v4 with: @@ -64,7 +64,10 @@ jobs: STRIPE_WEBHOOK_SECRET: whsec_fake STRIPE_PRICE_ID: price_fake steps: - - uses: actions/checkout@v4 + - name: Checkout repository + run: | + git clone --depth 1 \ + https://x-access-token:${FORGEJO_TOKEN}@srvr.nu/git/jocke/bilhej.git . - name: Run E2E test stack run: |