Files
open-isp/.forgejo/workflows/ci.yml
oxpoe 6e2bf3fe93
Some checks are pending
CI / test (push) Waiting to run
Release / release (push) Successful in 35s
chore(release): v0.5.3 — rapikan dokumentasi, CI, dan workflow rilis
- bump versi 0.5.3 (version.txt, package.json)
- CHANGELOG: catatan 0.5.3 + arsip 0.5.2
- README: tautan Gitea/Forgejo baru, badge versi, bagian screenshot, fitur baru
- docs/RELEASE_NOTES_v0.5.3.md
- workflow CI (syntax + unit test) dan Release (buat rilis + asset zip) untuk Gitea & Forgejo
2026-11-05 03:32:03 +07:00

34 lines
773 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
run: npm ci --no-audit --no-fund
- name: Check syntax (semua file JS)
shell: bash
run: |
fail=0
while IFS= read -r f; do
node --check "$f" || { echo "SYNTAX FAIL: $f"; fail=1; }
done < <(find . -name '*.js' -not -path './node_modules/*' -not -path './.git/*' -not -path './public/vendor/*')
exit $fail
- name: Unit tests
run: node tests/unit/area-access.test.js