Skip to content

📝 fix README.md

📝 fix README.md #44

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths:
- "apps/**"
- "packages/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
timeout-minutes: 15
if: ${{ github.repository_owner == 'x7ddf74479jn5' }}
name: Create a PR for release workflow
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/setup-node-and-restore-packages
- name: Build the package
run: pnpm build:release
- name: Create Version PR or Publish to NPM
id: changesets
uses: changesets/action@v1.4.1
with:
commit: "📦 release: version packages"
title: "📦 release: version packages"
version: pnpm run version
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_ENV: "production"