-
-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (39 loc) 路 1.16 KB
/
Copy pathrelease-please.yml
File metadata and controls
43 lines (39 loc) 路 1.16 KB
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
43
name: release-please
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
id-token: write
pull-requests: write
issues: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
outputs:
release_created: ${{ steps.release.outputs['packages/catppuccin-starlight--release_created'] }}
tag_name: ${{ steps.release.outputs['packages/catppuccin-starlight--tag_name'] }}
release:
runs-on: ubuntu-latest
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
cache: pnpm
node-version: 24
registry-url: https://registry.npmjs.org
- run: pnpm install --frozen-lockfile
- run: pnpm publish
working-directory: ./packages/catppuccin-starlight
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}