Skip to content

Commit ab53d9a

Browse files
committed
fixup! Add release test workflow
1 parent bceb8ac commit ab53d9a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release_test.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
prerelease:
99
runs-on: ubuntu-latest
1010
environment:
11-
name: prod
11+
name: dev
1212
url: https://www.npmjs.com/package/junit2json
1313
permissions:
1414
contents: write
@@ -26,18 +26,12 @@ jobs:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727
- uses: actions/checkout@v4
2828

29-
# Use GitHub App for bypassing ruleset guard when git push by npm publish
30-
- uses: actions/create-github-app-token@v1
31-
id: app-token
32-
with:
33-
app-id: ${{ secrets.BYPASS_APP_ID }}
34-
private-key: ${{ secrets.BYPASS_APP_PRIVATE_KEY }}
3529
# npm publish and push updated package.json
3630
- name: PrePublish
3731
run: |
3832
npm run release:prepublish
3933
env:
40-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4135
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
4236

4337
- name: Commit and push changes
@@ -48,3 +42,5 @@ jobs:
4842
git add package*.json
4943
git commit -m "debug: npm run release:prepublish"
5044
git push
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)