Skip to content

feat: new

feat: new #4

Workflow file for this run

name: Changesets
on:
push:
branches:
- main
env:
CI: true
jobs:
version:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install PNPM
uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 7
- name: Install Dependencies
run: pnpm install --no-frozen-lockfile
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: pnpm changeset version
publish: pnpm release
commit: 'chore: update versions'
title: 'chore: update versions'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}