fix: produce relative redirect location url for same origin (#3129) #2031
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release-please | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| id-token: write | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| - uses: actions/checkout@v5 | |
| if: ${{ steps.release.outputs.release_created }} | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: '*' | |
| cache: 'npm' | |
| check-latest: true | |
| registry-url: 'https://registry.npmjs.org' | |
| if: ${{ steps.release.outputs.release_created }} | |
| - name: Install dependencies | |
| run: CI=1 npm ci | |
| if: ${{ steps.release.outputs.release_created }} | |
| - name: Install Deno | |
| uses: denoland/setup-deno@v1 | |
| with: | |
| # Should match the `DENO_VERSION_RANGE` from https://github.com/netlify/build/blob/main/packages/edge-bundler/node/bridge.ts#L20 | |
| deno-version: v2.2.4 | |
| - name: Build | |
| run: npm run build | |
| if: ${{ steps.release.outputs.release_created }} | |
| - run: npm publish --provenance | |
| if: ${{ steps.release.outputs.release_created }} | |
| env: | |
| NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |