Repository navigation
feat: Add duration to press and release internal action #3389 #10736
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: Format check | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Use Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: ".node-version" | |
| - name: yarn install | |
| run: | | |
| corepack enable | |
| # try and avoid timeout errors | |
| yarn config set httpTimeout 100000 | |
| yarn install --immutable | |
| - name: check format | |
| run: | | |
| yarn prettier --check . | |
| - name: run linter | |
| run: | | |
| yarn build:graphics-types | |
| yarn lint | |
| check-generated: | |
| name: Generated files up to date | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Use Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: ".node-version" | |
| - name: yarn install | |
| run: | | |
| corepack enable | |
| # try and avoid timeout errors | |
| yarn config set httpTimeout 100000 | |
| yarn install --immutable | |
| - name: Check generated config reference is up to date | |
| run: | | |
| yarn build:config-reference | |
| git diff --exit-code docs/user-guide/1_getting-started/config-reference.generated.md | |
| - name: Check generated satellite schemas are up to date | |
| run: yarn build:satellite-schema --check | |
| spelling: | |
| name: Spell Check with Typos | |
| runs-on: ubuntu-latest | |
| env: | |
| CLICOLOR: 1 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Spell Check Repo | |
| uses: crate-ci/typos@v1 |