-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (41 loc) · 1.07 KB
/
javascript-changeset.yml
File metadata and controls
48 lines (41 loc) · 1.07 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
44
45
46
47
48
name: 'JavaScript: Changesets'
on:
workflow_dispatch:
workflow_run:
workflows:
- 'JavaScript: Test'
types:
- completed
permissions:
contents: write
pull-requests: write
jobs:
version:
timeout-minutes: 10
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: pnpm
- run: echo "ZUGRIFF_SKIP_POSTINSTALL=true" >> $GITHUB_ENV
- run: pnpm install --frozen-lockfile
- uses: changesets/action@v1
with:
version: pnpm ci:version
commit: 'chore: bump versions'
title: 'chore: bump versions'
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0