mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: amend version freezes on release-please PRs
This commit is contained in:
parent
92110151d9
commit
9c852cedbe
1
.github/release-please.yml
vendored
1
.github/release-please.yml
vendored
@ -1,3 +1,4 @@
|
||||
releaseType: node
|
||||
primaryBranch: main
|
||||
handleGHRelease: true
|
||||
manifest: true
|
||||
|
26
.github/workflows/pre-release.yml
vendored
Normal file
26
.github/workflows/pre-release.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- release-please-*
|
||||
|
||||
jobs:
|
||||
pre-publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Build
|
||||
run: |
|
||||
node utils/generate_version_file.js
|
||||
IS_PRE_RELEASE=1 npm run doc
|
||||
- name: Commit and push
|
||||
run: |
|
||||
git add -A
|
||||
git commit --amend --no-edit
|
||||
git push -f
|
Loading…
Reference in New Issue
Block a user