Skip to content

fix(cloudflare): No body for 101, 204, 205, or 304 status codes (#683) #466

fix(cloudflare): No body for 101, 204, 205, or 304 status codes (#683)

fix(cloudflare): No body for 101, 204, 205, or 304 status codes (#683) #466

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
# https://github.com/actions/checkout
uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup
- uses: ./.github/actions/lint
- name: Create Release Pull Request or Publish to npm
id: changesets
# https://github.com/changesets/action
uses: changesets/action@v1
with:
createGithubReleases: false
version: pnpm run version
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: View outputs
run: echo ${{join(steps.changesets.outputs.*, ' ')}}
- name: Aggregate
id: aggregate
if: steps.changesets.outputs.published == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
node ./.changeset/aggregate.mjs
- name: Create Release
if: steps.changesets.outputs.published == 'true'
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.aggregate.outputs.version }}
release_name: ${{ steps.aggregate.outputs.version }}
body: ${{ steps.aggregate.outputs.notes }}
draft: false
prerelease: false