Skip to content

Merge pull request #5 from stevent-team/changeset-release/main #4

Merge pull request #5 from stevent-team/changeset-release/main

Merge pull request #5 from stevent-team/changeset-release/main #4

Workflow file for this run

name: Release
on:
push:
branches: ['main']
paths:
- '**/package.json'
- '.changeset/**'
- '.github/workflows/release.yml'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- run: yarn install --immutable
- uses: changesets/action@v1
with:
publish: yarn ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}