name: Gitea Runner E2E — publish + integrity check on: workflow_dispatch: inputs: version: description: Test version to publish required: true default: 0.0.1-e2e.1 push: branches: [runner/gitea-e2e] concurrency: group: runner-e2e-publish-${{ github.ref }} cancel-in-progress: false jobs: publish: runs-on: [ubuntu-latest, bytelyst, hostinger] timeout-minutes: 15 container: image: node:20-bookworm options: -v /home/gitea-runner/.gitea_npm_token:/run/secrets/gitea_npm_token:ro steps: - name: Checkout uses: actions/checkout@v4 - name: Install pnpm run: | npm install -g pnpm@9.12.0 pnpm --version - name: Set test version working-directory: packages/_runner-e2e-test run: | VERSION="${{ github.event.inputs.version }}" if [ -z "$VERSION" ]; then VERSION="0.0.1-e2e.1"; fi echo "TEST_VERSION=$VERSION" >> "$GITHUB_ENV" npm version "$VERSION" --no-git-tag-version --allow-same-version node -p "require('./package.json').version" - name: Configure registry .npmrc working-directory: packages/_runner-e2e-test run: | TOKEN=$(tr -d '\n' < /run/secrets/gitea_npm_token) cat > .npmrc < .npmrc < package.json <