Skip to content

feat(ci): Add ci

feat(ci): Add ci #1

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install -y jq
- name: Validate manifest.json
run: |
set -euo pipefail
jq . manifest.json >/dev/null
node -e 'const fs=require("fs");const m=JSON.parse(fs.readFileSync("manifest.json","utf8"));if(m.manifest_version!==3){throw new Error("manifest_version must be 3")}'
- name: Basic file checks
run: |
test -f README.md
test -f LICENSE
test -f content.js