User Settings redesign #30
Workflow file for this run
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: Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - run: git config --global core.autocrlf false | |
| - name: Checkout git repo | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Install node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - uses: actions/cache/restore@v4 | |
| id: cache-playwright-modules | |
| with: | |
| path: node_modules | |
| key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }} | |
| - name: Install dependencies | |
| shell: bash | |
| if: steps.cache-playwright-modules.outputs.cache-hit != 'true' | |
| run: yarn install --immutable | |
| - uses: actions/cache/save@v4 | |
| id: cache-playwright-modules-save | |
| with: | |
| path: node_modules | |
| key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }} | |
| - name: Lint Files | |
| run: yarn lint-check | |
| - name: Compile typescript files | |
| shell: bash | |
| run: yarn tsc | |
| - name: Run the only test we can without a browser | |
| shell: bash | |
| run: PRINT_FAILED_TEST_LOGS=1 npx playwright test -g "Enforce localized strings return expected values" |