Skip to content

Merge pull request #146 from kinday/typescript-bundler-resolution #113

Merge pull request #146 from kinday/typescript-bundler-resolution

Merge pull request #146 from kinday/typescript-bundler-resolution #113

name: Create changeset PR or Release
on:
workflow_dispatch:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
pr-or-release:
name: Changeset or Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node / npm env and install deps
uses: ./.github/workflows/reusable/env-setup
- name: Create Release Pull Request or Publish to npm if no pending changes
id: changesets
uses: changesets/action@v1
with:
version: npm run release
publish: npm run publish
title: Upcoming package versions and changelogs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}