Revisions based on feedback

This commit is contained in:
James Forbes 2022-04-21 18:04:45 +10:00 committed by Stephan Hoyer
parent 2a2aef7762
commit ff646e8fb8
6 changed files with 3897 additions and 20 deletions

View file

@ -8,7 +8,7 @@ jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: patch

View file

@ -18,7 +18,7 @@ jobs:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'next'
fetch-depth: 0
@ -29,7 +29,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- run: npx pr-release merge --target main --source next --commit --force --clean --changelog ./docs/recent-changes.md --compact
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

View file

@ -6,6 +6,9 @@ on:
workflow_dispatch:
pull_request:
types: [labeled, unlabeled, edited]
concurrency: prr:pre-release
jobs:
@ -18,14 +21,14 @@ jobs:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- run: npx pr-release pr --verbose --target main --source next --compact --verbose
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

View file

@ -15,7 +15,7 @@ jobs:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: 'next'
fetch-depth: 0
@ -25,7 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- run: npx pr-release rollback --verbose --target main --source next --verbose --ignore 'package*' --ignore docs/changelog.md --ignore docs/recent-changes.md
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}