Fix broken dictionary collection import (#1718) #4604
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 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@v4 | |
- 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@v4 | |
- 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: "https://json.schemastore.org/chrome-manifest.json" | |
fixSchemas: true | |
bench: | |
name: Benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- name: Run Benchmarks | |
uses: CodSpeedHQ/action@513a19673a831f139e8717bf45ead67e47f00044 # v3.2 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: npm run bench |