-
Notifications
You must be signed in to change notification settings - Fork 86
42 lines (35 loc) · 874 Bytes
/
cr.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Continuous Releases
on:
push:
branches:
- main
- dev
- release-*
tags-ignore:
- v*
paths-ignore:
- "examples/**"
- "**/README.md"
pull_request:
paths-ignore:
- "examples/**"
- "**/README.md"
jobs:
cr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build start
run: pnpm run build && pnpm run types
- name: Release
run: pnpm dlx [email protected] publish './packages/*' --template './examples/*' --compact