Skip to content

feat: support escaped quoted edge labels in DSL #69

feat: support escaped quoted edge labels in DSL

feat: support escaped quoted edge labels in DSL #69

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch: # Manual trigger
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.19.0', 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: npm run test:run
- name: Test CLI
run: |
echo "(Start) -> [Process] -> (End)" | node dist/cli.js create --stdin -o /tmp/test.excalidraw
cat /tmp/test.excalidraw | head -20
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.19.0'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint