Something went wrong. Try again.
Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)
Something went wrong. Try again.
YAML
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182name: CI
permissions: contents: read
on: push: branches: [master] pull_request: merge_group:
jobs: tests: name: ${{ matrix.name }} runs-on: ubuntu-latest strategy: matrix: include: - name: JavaScript test: test:js - name: TypeScript (main) test: test:ts:main - name: TypeScript (dev) test: test:ts:dev - name: TypeScript (test) test: test:ts:test - name: TypeScript (bench) test: test:ts:bench - name: CSS test: test:css - name: HTML test: test:html - name: Markdown test: test:md - name: JSON test: test:json - name: Unit Tests test: test:unit - name: Unit Tests (options) test: test:unit:options
steps: - uses: actions/checkout@v6 - uses: ./.github/actions/setup
- name: Run ${{ matrix.name }} tests run: npm run ${{ matrix.test }}
test-build: name: Test Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: ./.github/actions/setup
- name: Build Legal run: npm run license-report:html
- name: Build run: npm run build
- name: Validate manifest.json of the extension uses: cardinalby/schema-validator-action@2166123eb256fa40baef7e22ab1379708425efc7 # v3.1.1 with: file: ext/manifest.json schema: ./dev/data/chrome-manifest-schema.json fixSchemas: true
bench: name: Benchmarks runs-on: ubuntu-latest if: github.event_name != 'merge_group' steps: - uses: actions/checkout@v6 - uses: ./.github/actions/setup
- name: Run Benchmarks uses: CodSpeedHQ/action@63ae6025a0ffee97d7736a37c9192dbd6ed4e75f # v3.2 with: token: ${{ secrets.CODSPEED_TOKEN }} run: npm run bench