chore: Stabilize workflow job names across CLI version updates (#859) #2546
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: test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: "lts/*" | |
| cache: "npm" | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Run Linter | |
| run: npm run lint | |
| - name: Check Format | |
| run: npm run format:ci | |
| - name: Run Build | |
| run: npm run build |