| | |
| | | contents: read |
| | | |
| | | jobs: |
| | | lint: |
| | | runs-on: ubuntu-latest |
| | | steps: |
| | | - name: Check out repository |
| | | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 |
| | | with: |
| | | persist-credentials: false |
| | | submodules: false |
| | | |
| | | - name: Set up Node.js |
| | | uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 |
| | | with: |
| | | node-version: "26" |
| | | |
| | | - name: Install yamllint |
| | | run: pipx install yamllint==1.38.0 |
| | | |
| | | - name: Show tool versions |
| | | run: | |
| | | node --version |
| | | npm --version |
| | | yamllint --version |
| | | |
| | | - name: Install dependencies |
| | | run: npm ci |
| | | |
| | | - name: Code, lockfile, Markdown, TypeScript, and YAML linting |
| | | run: npm run lint |
| | | |
| | | browser: |
| | | runs-on: ubuntu-latest |
| | | container: mcr.microsoft.com/playwright:v1.65.1-noble |