Add disabled prop to Account component for toggle switch #243
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: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - '**.js' | |
| - '**.mjs' | |
| - '**.cjs' | |
| - '**.jsx' | |
| - '**.ts' | |
| - '**.mts' | |
| - '**.cts' | |
| - '**.tsx' | |
| - '**.vue' | |
| pull_request: | |
| paths: | |
| - '**.js' | |
| - '**.mjs' | |
| - '**.cjs' | |
| - '**.jsx' | |
| - '**.ts' | |
| - '**.mts' | |
| - '**.cts' | |
| - '**.tsx' | |
| - '**.vue' | |
| concurrency: | |
| group: lint-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: 'bash' | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: 'yarn' | |
| node-version-file: '.node-version' | |
| - run: yarn | |
| env: | |
| PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | |
| - run: yarn lint | |
| # This job just check code style for in-template contributions. | |
| code-style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: 'yarn' | |
| node-version-file: '.node-version' | |
| # Install prettier using the version from package.json | |
| - run: yarn add "prettier@$(cat ./package.json | jq -r '.devDependencies["prettier"]')" | |
| - run: yarn format:check |