Skip to content

chore: publish (#100) #55

chore: publish (#100)

chore: publish (#100) #55

Workflow file for this run

name: Publish
on:
push:
branches:
- main
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn
- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: yarn version-packages
publish: yarn release
commit: "chore: publish"
title: "Publish package"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}