Skip to content

build(deps-dev): bump typescript-eslint from 8.46.1 to 8.46.2 #122

build(deps-dev): bump typescript-eslint from 8.46.1 to 8.46.2

build(deps-dev): bump typescript-eslint from 8.46.1 to 8.46.2 #122

name: Linter for Obsidian plugin source code
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run tests
run: npm test
- name: Build
run: npm run build
- name: Check mandatory files
run: |
if [ ! -f "manifest.json" ]; then
echo "Missing manifest.json"
exit 1
fi
if [ ! -f "main.js" ]; then
echo "Missing main.js"
exit 1
fi
if [ ! -f "README.md" ]; then
echo "Missing README.md"
exit 1
fi