Skip to content

Commit 8d1a04e

Browse files
authored
Merge branch 'main' into fix/1811
2 parents cc2ee61 + 874cfd1 commit 8d1a04e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/cr.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Continuous Releases provided by https://pkg.pr.new
2+
name: CR (Continuous Releases)
3+
on: [pull_request]
4+
5+
jobs:
6+
cr:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v2
12+
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: lts/*
16+
17+
- run: npm i -g @antfu/ni
18+
- run: nci
19+
20+
- name: Build
21+
run: nr build
22+
23+
- run: nlx pkg-pr-new publish './packages/create-app' './packages/client' './packages/create-theme' './packages/parser' './packages/slidev' './packages/types' --pnpm
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)