diff --git a/.github/workflows/ci-react-renderer.yml b/.github/workflows/ci-react-renderer.yml new file mode 100644 index 00000000..3ff93941 --- /dev/null +++ b/.github/workflows/ci-react-renderer.yml @@ -0,0 +1,25 @@ +name: ci-react-renderer +on: + push: + branches: [main] + paths: + - 'packages/react-renderer/**' + pull_request: + branches: ['*'] + paths: + - 'packages/react-renderer/**' + +jobs: + ci: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./packages/react-renderer + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 18.x + - run: yarn install --frozen-lockfile + - run: yarn build + - run: yarn test diff --git a/package.json b/package.json index 03dac690..f6e89dad 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "build:swagger-ui": "yarn workspace @hono/swagger-ui build", "build:esbuild-transpiler": "yarn workspace @hono/esbuild-transpiler build", "build:oauth-providers": "yarn workspace @hono/oauth-providers build", + "build:react-renderer": "yarn workspace @hono/react-renderer build", "build": "run-p 'build:*'", "lint": "eslint 'packages/**/*.{ts,tsx}'", "lint:fix": "eslint --fix 'packages/**/*.{ts,tsx}'", @@ -55,4 +56,4 @@ "typescript": "^5.2.2" }, "packageManager": "yarn@4.0.2" -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 9232131f..dec1f4a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10337,13 +10337,6 @@ __metadata: languageName: node linkType: hard -"hono@npm:^3.11.7": - version: 3.11.7 - resolution: "hono@npm:3.11.7" - checksum: 6665e26801cb4c4334e09dbb42453bf40e1daae9a44bf9a1ed22815f6cb701c0d9ac1a4452624234f36093996c8afff0a41d2d5b52a77f4f460178be48e022bf - languageName: node - linkType: hard - "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9"