Skip to content

Merge pull request #13 from MrSquaare/update-external-deps #13

Merge pull request #13 from MrSquaare/update-external-deps

Merge pull request #13 from MrSquaare/update-external-deps #13

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup environment
uses: ./.github/actions/setup-env
- name: Build
run: pnpm build --filter @sandwich-ui/core --filter @sandwich-ui/react
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}