Fix "about:blank" flicker in omnibar when a link is opened in a new t… #403
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: Pixel Schema Validation | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| pull_request: | |
| paths: | |
| - 'PixelDefinitions/**' | |
| jobs: | |
| pixel-validation: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 20 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - name: Checkout internal-github-asana-utils repo | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.DAXMOBILE_ANDROID_AUTOMATION }} | |
| path: internal-github-asana-utils | |
| repository: duckduckgo/internal-github-asana-utils | |
| - name: Install dependencies | |
| run: npm ci --verbose | |
| working-directory: PixelDefinitions | |
| - name: Lint | |
| run: npm run lint || (npm run lint.fix; git --no-pager diff; echo 'Pixel lint check failed, review diff above or run "npm run lint.fix"'; exit 1) | |
| working-directory: PixelDefinitions | |
| - name: Run pixel validation | |
| run: npm run validate-defs-without-formatting -- -g ../internal-github-asana-utils/user_map.yml | |
| working-directory: PixelDefinitions | |