Skip to content

fix: parse non-JSON response objects correctly #52

fix: parse non-JSON response objects correctly

fix: parse non-JSON response objects correctly #52

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
branches:
- main
workflow_dispatch:
jobs:
Release:
name: 🚀 Release
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged && startsWith(github.head_ref, 'release-please--branches--main')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Publish package
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
npm publish