Initial Coworker app scaffold
This commit is contained in:
31
.gitea/workflows/release-dry-run.yml
Normal file
31
.gitea/workflows/release-dry-run.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Release Dry Run
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release-dry-run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate release metadata
|
||||
run: |
|
||||
test -f README.md
|
||||
test -f CHANGELOG.md
|
||||
test -f docs/release-checklist.md
|
||||
test -f docs/release-notes.md
|
||||
grep -q "Coworker-Setup" README.md
|
||||
if rg "PROJECT_NAME|PROJECT_DESCRIPTION|REPOSITORY_OWNER|REPOSITORY_NAME|BUILD_COMMAND|TEST_COMMAND|LINT_COMMAND|AUDIT_COMMAND" .; then
|
||||
echo "Unresolved template placeholder found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Release check
|
||||
run: npm run release:check
|
||||
Reference in New Issue
Block a user