Skip to content

ci(changesets): version packages (#19) #16

ci(changesets): version packages (#19)

ci(changesets): version packages (#19) #16

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
if: github.repository == 'channel-io/shared-configs'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn
- name: Create release Pull Request or publish to NPM
id: changesets
uses: changesets/action@v1
with:
version: yarn version-packages
publish: yarn release
commit: 'ci(changesets): version packages'
title: 'ci(changesets): version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}