glasp-co_obsidian-glasp-plugin/.github/workflows/ci.yml
Kazuki c57df15140 chore: prepare v0.2.0 — Node 22, dependency security, gitignore
- Upgrade Node to 22.22.2 (.node-version, CI workflow, package engines, @types/node)
- Patch handlebars to 4.7.9 to resolve the critical advisory
- Remove the moment dependency in favor of native Date in normalize-highlight
- Harden .gitignore for the public repo (.DS_Store, logs, coverage, .env)
- Bump version to 0.2.0

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 15:52:28 -07:00

34 lines
570 B
YAML

name: CI
on:
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22.22.2"
cache: "npm"
- name: Install packages
run: npm ci
- name: Run lint
run: npm run lint:check
- name: Run format
run: npm run format:check
- name: Run test
run: npm run test
- name: Run build
run: npm run build