feat: add modify and validate, validate all json payloads (#249) #373
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: front-admin-typecheck | |
on: | |
push: | |
paths: | |
- "defs/**" | |
- "defs-patches/**" | |
- "front/**" | |
branches: [ master, dev ] | |
pull_request: | |
paths: | |
- "defs/**" | |
- "defs-patches/**" | |
- "front/**" | |
branches: [ master, dev ] | |
jobs: | |
# skip_check: | |
# runs-on: ubuntu-latest | |
# outputs: | |
# should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
# steps: | |
# - id: skip_check | |
# uses: fkirc/skip-duplicate-actions@v5 | |
front-admin-typecheck: | |
# needs: skip_check | |
# if: needs.skip_check.outputs.should_skip != 'true' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./front/admin | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm run ci | |
working-directory: ./front | |
- run: npm run check |