Les Echos : Enhance error handling (querySelector). Refactor MutationObservers. #401
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: "Construction de l'extension" | |
on: [pull_request] | |
defaults: | |
run: | |
working-directory: ./ophirofox | |
jobs: | |
check: | |
name: web-ext lint and build | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
- run: npm install --global web-ext | |
- run: web-ext lint --self-hosted --warnings-as-errors | |
- run: web-ext build | |
- uses: actions/upload-artifact@v3 | |
id: upload | |
with: | |
name: ophirofox.zip | |
path: ophirofox/web-ext-artifacts/*.zip | |
if-no-files-found: error | |