ci: verify main before production release
Memind CI / Test, build, and release guards (push) Failing after 2s
Memind CI / Test, build, and release guards (push) Failing after 2s
This commit is contained in:
@@ -0,0 +1,57 @@
|
|||||||
|
name: Memind CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: memind-ci-${{ gitea.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
verify:
|
||||||
|
name: Test, build, and release guards
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 30
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out exact commit
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Use Node.js 24
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
cache: npm
|
||||||
|
|
||||||
|
- name: Install locked dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Check patch formatting
|
||||||
|
run: git diff --check HEAD^
|
||||||
|
|
||||||
|
- name: Run full test suite
|
||||||
|
run: npm test
|
||||||
|
|
||||||
|
- name: Build production frontend
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Verify MindSpace publish guards
|
||||||
|
run: npm run verify:mindspace-publish-guards
|
||||||
|
|
||||||
|
- name: Verify MindSpace page sync guards
|
||||||
|
run: npm run verify:mindspace-page-sync-guards
|
||||||
|
|
||||||
|
- name: Verify Page Data delivery
|
||||||
|
run: npm run verify:page-data
|
||||||
|
|
||||||
|
- name: Check published download links
|
||||||
|
run: npm run check:mindspace-public-links
|
||||||
Reference in New Issue
Block a user