WebExt Lint #2
This file contains hidden or 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: WebExt Lint | |
| on: | |
| workflow_run: | |
| workflows: [Build] | |
| types: [completed] | |
| jobs: | |
| webext-lint: | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.workflow_run.head_sha }} | |
| - uses: ./.github/actions/setup | |
| - name: Download Firefox artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: dist-firefox | |
| repository: ${{ github.event.workflow_run.repository.full_name }} | |
| run-id: ${{ github.event.workflow_run.id }} | |
| path: dist | |
| - name: Lint Firefox build | |
| run: npx web-ext lint dist/firefox |