This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
fix: respond with response data if structure doesn't match (#190) #33
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: Node.js CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
name: Continuous integration | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Source Files | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- name: Use Node.js (from .nvmrc) | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install Dependencies | |
run: pnpm install | |
- name: Check for eslint-disable | |
uses: naomi-lgbt/eslint-disable-action@main | |
with: | |
directories: "src" | |
- name: Lint Source Files | |
run: pnpm run lint | |
- name: Verify Build | |
run: pnpm run build | |
- name: Run Tests | |
run: pnpm run test |