Skip to content

Commit 91befd2

Browse files
committed
ci: add pkg.pr.new
1 parent 4029b7f commit 91befd2

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,27 @@ jobs:
7373

7474
- name: Run tests
7575
run: pnpm run test
76+
77+
continuous-release:
78+
name: Continuous Release
79+
runs-on: ubuntu-latest
80+
81+
steps:
82+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
83+
- run: corepack enable
84+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
85+
with:
86+
node-version: 20.5
87+
cache: pnpm
88+
89+
- name: Install dependencies
90+
run: pnpm install
91+
92+
- name: Prepare
93+
run: pnpm run dev:prepare
94+
95+
- name: Prepare
96+
run: pnpm run prepack
97+
98+
- name: Run continuous release
99+
run: pnpm dlx pkg-pr-new publish

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![npm downloads][npm-downloads-src]][npm-downloads-href]
55
[![License][license-src]][license-href]
66
[![Nuxt][nuxt-src]][nuxt-href]
7+
[![pkg.pr.new](https://pkg.pr.new/badge/Barbapapazes/nuxt-authorization)](https://pkg.pr.new/~/Barbapapazes/nuxt-authorization)
78

89
Handle authorization with ease in both Nuxt and Nitro.
910

0 commit comments

Comments
 (0)