Skip to content

fix: bump package versions to 0.1.2 and enhance effectStyles with bet… #12

fix: bump package versions to 0.1.2 and enhance effectStyles with bet…

fix: bump package versions to 0.1.2 and enhance effectStyles with bet… #12

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches: [main]
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
if: github.repository == 'protohiro-com/effects'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --no-frozen-lockfile
- run: pnpm build
- name: Create release PR or publish
uses: changesets/action@v1
with:
publish: pnpm changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}