name: autofix.ci # needed to securely identify the workflow on: pull_request: push: branches: - main permissions: contents: read jobs: autofix: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - run: corepack enable - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: lts/* cache: "pnpm" - name: ๐Ÿ“ฆ Install dependencies run: pnpm install - name: Install Playwright # does not need to explicitly set chromium after https://github.com/microsoft/playwright/issues/14862 is solved run: pnpm playwright install chromium - name: ๐Ÿšง Set up project run: pnpm dev:prepare - name: ๐Ÿ”  Fix lint errors run: pnpm run lint --fix - name: ๐Ÿงช Update snapshots run: pnpm test -u - uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 # 7a166d7532b277f34e16238930461bf77f9d7ed8