From 6a1a99ad04c5c25e6e25b4f82ad10c051de82c08 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Mon, 2 Jan 2023 00:08:59 +0900 Subject: [PATCH] ci: add ci for zod-validator (#18) --- .github/workflows/ci-zod-validator.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci-zod-validator.yml diff --git a/.github/workflows/ci-zod-validator.yml b/.github/workflows/ci-zod-validator.yml new file mode 100644 index 00000000..27382e53 --- /dev/null +++ b/.github/workflows/ci-zod-validator.yml @@ -0,0 +1,25 @@ +name: ci-hello +on: + push: + branches: [main] + paths: + - 'packages/zod-validator/**' + pull_request: + branches: ['*'] + paths: + - 'packages/zod-validator/**' + +jobs: + ci: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./packages/zod-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