docs: add more comments to workflows #162
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: CI | |
| on: | |
| # Triggers the workflow on push to every branch | |
| push: | |
| jobs: | |
| validate: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - default.json | |
| - javascript.json | |
| - python.json | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 # required for running the local validate action in the next step | |
| - uses: ./validator | |
| with: | |
| config: ${{ matrix.config }} | |
| node: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: "pnpm" | |
| - run: pnpm i | |
| - run: pnpm types | |
| - run: pnpm format:check |