27 lines
537 B
YAML
27 lines
537 B
YAML
name: Pre-release
|
|
|
|
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
|