Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/ci-browser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI Browser Extension

on:
push:
branches: [main]
paths:
- 'browser/**'
- '.tool-versions'
- '.github/workflows/ci-browser.yml'
pull_request:
branches: [main]
paths:
- 'browser/**'
- '.tool-versions'
- '.github/workflows/ci-browser.yml'
Comment thread
yamadashy marked this conversation as resolved.
workflow_dispatch:

permissions:
contents: read

jobs:
lint-browser:
name: Lint Browser Extension
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .tool-versions
cache: npm
- name: Install browser extension dependencies
working-directory: browser
run: npm ci
- name: Prepare WXT
working-directory: browser
run: npm run prepare
- name: Lint browser extension
working-directory: browser
run: npm run lint

test-browser:
name: Test Browser Extension
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .tool-versions
cache: npm
- name: Install browser extension dependencies
working-directory: browser
run: npm ci
- name: Prepare WXT
working-directory: browser
run: npm run prepare
- name: Test browser extension
working-directory: browser
run: npm run test
55 changes: 55 additions & 0 deletions .github/workflows/ci-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI Quality

on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.github/releases/**'
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.github/releases/**'
workflow_dispatch:

permissions:
contents: read

jobs:
lint-actionlint:
name: Lint GitHub Actions (actionlint)
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: rhysd/actionlint@393031adb9afb225ee52ae2ccd7a5af5525e03e8 # v1.7.11
with:
args: "-color"

lint-zizmor:
name: Lint GitHub Actions (zizmor)
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
with:
advanced-security: "false"
annotations: "true"
config: .github/zizmor.yml

check-typos:
name: Check typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: crate-ci/typos@631208b7aac2daa8b707f55e7331f9112b0e062d # v1.44.0
97 changes: 97 additions & 0 deletions .github/workflows/ci-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: CI Website

on:
push:
branches: [main]
paths:
- 'website/**'
- 'src/**'
- 'package.json'
- 'package-lock.json'
- '.tool-versions'
- '.github/workflows/ci-website.yml'
pull_request:
branches: [main]
paths:
- 'website/**'
- 'src/**'
- 'package.json'
- 'package-lock.json'
- '.tool-versions'
- '.github/workflows/ci-website.yml'
Comment thread
yamadashy marked this conversation as resolved.
workflow_dispatch:

permissions:
contents: read

jobs:
lint-website-client:
name: Lint Website Client
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .tool-versions
cache: npm
- name: Install website client dependencies
working-directory: website/client
run: npm ci
- name: Lint website client
working-directory: website/client
run: npm run lint

lint-website-server:
name: Lint Website Server
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .tool-versions
cache: npm
- name: Build and link local repomix
run: |
npm ci
npm run build
npm link
- name: Install website server dependencies
working-directory: website/server
run: |
npm ci
npm link repomix
- name: Lint website server
working-directory: website/server
run: npm run lint

bundle-website-server:
name: Bundle Website Server
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: .tool-versions
cache: npm
- name: Build and link local repomix
run: |
npm ci
npm run build
npm link
- name: Install website server dependencies
working-directory: website/server
run: |
npm ci
npm link repomix
- name: Bundle website server
working-directory: website/server
run: npm run bundle
Loading
Loading