Skip to content

docs: update readme.md #3

docs: update readme.md

docs: update readme.md #3

Workflow file for this run

name: CI/CD
on:
push:
paths:
- "packages/**"
- "turbo.json"
- "package.json"
branches:
- main
- next
jobs:
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- uses: oven-sh/setup-bun@v2
with:
bun-version: 'latest'
- run: pnpm install --frozen-lockfile
- run: pnpm run lint:lib
- run: pnpm run test:lib
CD:
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' }}
runs-on: ubuntu-latest
needs: [CI]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm run build:lib
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm run release:lib