[WIP] Lunaria V1.0 #96
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 Commit Preview | |
on: | |
pull_request: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code using Git | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PAT }} | |
ref: ${{ github.head_ref }} | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Build Packages | |
run: pnpm run build:core | |
- run: pnpx pkg-pr-new publish --compact './packages/core' |