diff --git a/.github/workflows/ci-schema-validator.yml b/.github/workflows/ci-schema-validator.yml new file mode 100644 index 000000000..2b224ce6a --- /dev/null +++ b/.github/workflows/ci-schema-validator.yml @@ -0,0 +1,25 @@ +name: ci-schema-validator +on: + push: + branches: [main] + paths: + - 'packages/schema-validator/**' + pull_request: + branches: ['*'] + paths: + - 'packages/schema-validator/**' + +jobs: + ci: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./packages/schema-validator + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 18.x + - run: yarn install --frozen-lockfile + - run: yarn build + - run: yarn test