This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
refactor!: make it all one package #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish on Stackblitz | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-20.04 | |
if: github.head_ref == 'changeset-release/main' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Turborepo cache | |
uses: actions/cache/restore@v4 | |
with: | |
path: .turbo | |
key: turbo-${{ runner.os }}-node-20 | |
- name: Build | |
run: pnpm build | |
- name: Publish on Stackblitz | |
run: npx pkg-pr-new publish ./packages/* |