Skip to content

rename apps/plugin to apps/extension #22

rename apps/plugin to apps/extension

rename apps/plugin to apps/extension #22

Workflow file for this run

name: CI
'on':
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
jobs:
build-and-test:
name: Build And Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
job:
- build
- lint
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Linting
if: matrix.job == 'lint'
run: bun run lint
- name: Run build job
if: matrix.job == 'build'
run: |
cd apps/extension
bun run build
- name: Upload Artifact
if: matrix.job == 'build' && success()
uses: actions/upload-artifact@v3
with:
name: ai-chat-snippet
path: apps/extension/dist