Skip to content

Commit ab11c91

Browse files
authored
Update README, add contributing and security documentation (#35)
## Summary docs improvement with chat images ## Checks C++ build still works Backend changes were smoke-tested locally Frontend build still passes Docs or screenshots were updated if needed
2 parents 5bfba6b + 3062917 commit ab11c91

17 files changed

Lines changed: 1463 additions & 482 deletions
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Publish GitHub Package
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*"
8+
9+
permissions:
10+
contents: read
11+
packages: write
12+
13+
jobs:
14+
publish-github-package:
15+
name: Publish to GitHub Packages
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Check out repository
20+
uses: actions/checkout@v4
21+
22+
- name: Set up Node.js for GitHub Packages
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: "20"
26+
registry-url: "https://npm.pkg.github.com"
27+
scope: "@eamon2009"
28+
cache: "npm"
29+
cache-dependency-path: frontend/package-lock.json
30+
31+
- name: Build frontend assets
32+
run: |
33+
npm --prefix frontend ci
34+
npm --prefix frontend run build
35+
36+
- name: Prepare GitHub Packages metadata
37+
run: |
38+
npm pkg set name="@eamon2009/quadtrix"
39+
npm pkg set publishConfig.registry="https://npm.pkg.github.com"
40+
41+
- name: Publish package
42+
run: npm publish
43+
env:
44+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ engine/fine-tune/input.txt
1414
*best_model.pt
1515
*.pt
1616
*exe
17-
PUBLISHING.md

0 commit comments

Comments
 (0)