Skip to content

Commit 59c4184

Browse files
committed
chore: workflow debug
1 parent 3a9e0e1 commit 59c4184

1 file changed

Lines changed: 9 additions & 55 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -5,81 +5,35 @@ on:
55
branches:
66
- main
77

8-
concurrency: ${{ github.workflow }}-${{ github.ref }}
9-
108
jobs:
119
release:
12-
name: Release
13-
# Prevent releases from forks
14-
if: github.repository == 'Chrilleweb/dotenv-diff'
1510
runs-on: ubuntu-latest
11+
1612
permissions:
1713
contents: write
1814
pull-requests: write
1915
id-token: write
2016

2117
steps:
22-
- name: Generate GitHub App token
23-
id: app-token
24-
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859
25-
with:
26-
app-id: ${{ secrets.APP_ID }}
27-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
28-
2918
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
3019
with:
3120
fetch-depth: 0
32-
token: ${{ steps.app-token.outputs.token }}
33-
34-
- name: Install pnpm
35-
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
3621

3722
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
3823
with:
3924
node-version: 24
40-
registry-url: 'https://registry.npmjs.org'
41-
42-
- name: Install dependencies
43-
run: pnpm install --frozen-lockfile
4425

45-
- name: Build packages
46-
run: pnpm build
26+
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
4727

48-
- name: Debug changesets
49-
run: |
50-
echo "=== .changeset files ==="
51-
ls -la .changeset/
52-
echo ""
53-
echo "=== Contents of changeset files ==="
54-
for f in .changeset/*.md; do
55-
echo "--- $f ---"
56-
cat "$f"
57-
done
58-
echo ""
59-
echo "=== git status ==="
60-
git status
61-
echo ""
62-
echo "=== git log (last 5) ==="
63-
git log --oneline -5
64-
65-
- name: Debug changelog marker
66-
run: |
67-
echo "=== CHANGELOG marker check ==="
68-
grep -n "neat-bars-sleep\|tangy-ideas-mate" CHANGELOG.md || echo "Marker NOT found in CHANGELOG"
69-
echo ""
70-
echo "=== Run pnpm version manually ==="
71-
pnpm version
72-
echo ""
73-
echo "=== git status after version ==="
74-
git status --porcelain
28+
- run: pnpm install --frozen-lockfile
7529

76-
- name: Create Release Pull Request or Publish to npm
77-
id: changesets
30+
- name: Version Or Release
7831
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf
7932
with:
80-
version: pnpm version
33+
version: pnpm version-packages
8134
publish: pnpm release
82-
commit: 'chore: release packages'
83-
title: 'chore: release packages'
35+
createGithubReleases: true
36+
title: 'chore: version packages'
37+
commit: 'chore: version packages'
8438
env:
85-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)