We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 271a1bd commit 8be8722Copy full SHA for 8be8722
.github/workflows/pkg.pr.new.yml
@@ -13,23 +13,4 @@ jobs:
13
run: pnpm install
14
- name: Build
15
run: pnpm run build
16
-
17
- - run: pnpx pkg-pr-new publish --json output.json --compact --no-template
18
- - name: Add metadata to output
19
- uses: actions/github-script@v6
20
- with:
21
- github-token: ${{ secrets.GITHUB_TOKEN }}
22
- script: |
23
- const fs = require('fs');
24
- const output = JSON.parse(fs.readFileSync('output.json', 'utf8'));
25
- output.number = context.issue.number;
26
- output.event_name = context.eventName;
27
- output.ref = context.ref;
28
- fs.writeFileSync('output.json', JSON.stringify(output), 'utf8');
29
- - name: Upload output
30
- uses: actions/upload-artifact@v4
31
32
- name: output
33
- path: ./output.json
34
35
- - run: ls -R .
+ - run: pnpx pkg-pr-new publish --compact
0 commit comments