Skip to content

Commit

Permalink
ci: add cr
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Jul 23, 2024
1 parent 4bc1cb5 commit cb61968
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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@v2

- uses: actions/setup-node@v4
with:
node-version: lts/*

- run: npm i -g @antfu/ni
- run: nci

- name: Build
run: nr build

- run: nlx pkg-pr-new publish './packages/client' './create-app' './packages/create-theme' './packages/parser' './packages/slidev' './packages/types'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cb61968

Please sign in to comment.