From 54bf5c9fc41013d6c31b0a9f79d7c02391330534 Mon Sep 17 00:00:00 2001 From: Sebastian Wessel Date: Fri, 2 Feb 2024 15:00:36 +0000 Subject: [PATCH] chore: add schema validator ci --- .github/workflows/ci-schema-validator.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci-schema-validator.yml 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