diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..87ce8ceb6 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: CI +on: + pull_request: + branches: ['main'] +jobs: + lint-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + - name: Setup PNPM + uses: pnpm/action-setup@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + cache: 'pnpm' + node-version-file: '.nvmrc' + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Lint + run: pnpm lint + - name: Test + run: pnpm test diff --git a/.gitignore b/.gitignore index 9ac091c8f..1d63d38fe 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,6 @@ packages/runtime-core/lib/ # storybook *storybook.log storybook-static + +# claude +.claude/settings.local.json