chore: sync release branch on release

This commit is contained in:
Anthony Fu 2023-06-30 13:10:52 +02:00
parent a96bc22473
commit d77f712f48
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ on:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest

View File

@ -18,7 +18,7 @@
"docs:contributors": "esno scripts/update-contributors.ts",
"lint": "eslint --cache .",
"lint:fix": "nr lint --fix",
"release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public",
"release": "bumpp package.json packages/*/package.json --commit --push --tag && git update-ref refs/heads/release refs/heads/main && git push origin release && pnpm -r publish --access public",
"test": "vitest --api -r test/core",
"test:run": "vitest run -r test/core",
"test:all": "CI=true pnpm -r --stream run test --allowOnly",