Skip to content

Initial create

Initial create #1

Workflow file for this run

name: Publish main
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
node-version: 18.x
cache: pnpm
# install
- run: pnpm i --frozen-lockfile
name: Install dependencies
- name: Generate deps 🍪
run: pnpm generate
env:
CI: true
- name: Check packages and create build 📦,🧪,🔨,⚡
run: pnpm turbo --filter "./packages/**" build test lint
# typecheck # disabled for now to speed up development
env:
CI: true
# publish
- name: Create release PR and publish packages
id: changesets
uses: changesets/[email protected]
with:
commit: "chore(release): 📦 version packages"
title: "chore(release): 📦 version packages"
publish: pnpm exec changeset publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}