Skip to content

[WIP] Lunaria V1.0

[WIP] Lunaria V1.0 #96

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'