From 35e9d4ff7b41b153c3bcc70b0c2f5ab099e7f9c5 Mon Sep 17 00:00:00 2001 From: Nick Cherry Date: Wed, 24 Jan 2024 20:11:53 -0500 Subject: [PATCH] add github action for web linting + typechecking --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..5541522 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Quikcast + +on: + push: + branches: + - main +jobs: + web: + runs-on: ubuntu-latest # Linux base image + steps: + - uses: actions/checkout@v3 # Checkout repo + - uses: oven-sh/setup-bun@v1 # Setup bun + with: + bun-version: 1.0.15 # You can also use a specific version + - run: cd web + - run: bun install # Only needed if you have any dependencies + - run: bun run typecheck + - run: bun run lint \ No newline at end of file