Update readme.md to include project overview, setup instructions, directory structure, and usage with Docker for Node + TypeScript project.
Some checks failed
ci / build-test-pack (push) Has been cancelled

This commit is contained in:
2025-08-10 01:43:28 +08:00
parent 34637ef77a
commit 26a36b197e
13 changed files with 220 additions and 0 deletions

40
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,40 @@
name: ci
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
build-test-pack:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Install dependencies
run: npm ci || npm i
- name: Run tests
run: npm test
- name: Build
run: npm run build
- name: Pack
run: npm pack
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: npm-package
path: "*.tgz"