-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
25 lines (19 loc) · 635 Bytes
/
cr.yml
File metadata and controls
25 lines (19 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Continuous Releases provided by https://pkg.pr.new
name: CR (Continuous Releases)
on: [push, pull_request]
jobs:
cr:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: lts/*
- run: npm i -g @antfu/ni
- run: nci
- name: Build
run: nr build
- run: nlx pkg-pr-new publish './packages/create-app' './packages/client' './packages/create-theme' './packages/parser' './packages/slidev' './packages/types' --pnpm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}