mirror of
https://github.com/glasp-co/obsidian-glasp-plugin.git
synced 2026-07-22 11:50:26 +00:00
- 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>
34 lines
570 B
YAML
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
|