ci: add ci for zod-validator (#18)

pull/17/head
Yusuke Wada 2023-01-02 00:08:59 +09:00 committed by GitHub
parent 9436ea1ccb
commit 6a1a99ad04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -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