Skip to content

add version packages script #8

add version packages script

add version packages script #8

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 }}