[MS-759] feat: Add payload against query validation #38
Workflow file for this run
This file contains 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: Linters and tests | |
on: | |
pull_request: | |
branches: ["*"] | |
jobs: | |
tests-and-linters: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.10.0 | |
run_install: false | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm --version && pnpm install --frozen-lockfile | |
- name: Check prettier | |
run: pnpm lint:prettier | |
- name: Check eslint | |
run: pnpm lint:eslint | |
- name: Check types | |
run: pnpm lint:tsc | |
- name: Run tests | |
run: pnpm test |