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 }}

View file

@ -37,7 +37,7 @@ In future we may collapse these into a single file, the separation is due to the
Whenever a new feature branch is opened, a reviewing maintainer should add the correct semver label to their PR (`major` | `minor` | `patch`). If no label is set, `patch` is assumed.
If a `major` or `minor` feature branch is merge, but no labels were set, you can go back and apply the labels and then re-run the `pr` workflow in github actions, this will recalculate the semver version.
If a `major` or `minor` feature branch is merged but no labels were set, you can still go back and edit the semver labels. On label change the release pr will automatically be regenerated and will recalculate the semver version.
## Updating mithril.js.org

3896
package-lock.json generated

File diff suppressed because it is too large Load diff