fix(cloudflare): handle URL encoding for src with query parameters (#… #10
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| id-token: write | |
| pull-requests: write | |
| repository-projects: write | |
| steps: | |
| - uses: navikt/github-app-token-generator@v1 | |
| id: get-token | |
| with: | |
| private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
| app-id: ${{ secrets.APP_ID }} | |
| - name: Checkout Repo | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - name: Setup Deno | |
| uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: vx.x.x | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: latest | |
| - name: Install Dependencies | |
| run: deno install | |
| # Update npm to latest version so that OIDC works correctly | |
| - name: Update npm | |
| run: npm install -g npm@latest | |
| - name: Create Release Pull Request or Publish to npm | |
| id: changesets | |
| uses: changesets/action@v1 | |
| with: | |
| version: npm run version | |
| publish: npm run release | |
| commit: "ci: release" | |
| title: "ci: release" | |
| env: | |
| GITHUB_TOKEN: ${{ steps.get-token.outputs.token }} |