Move extensions and templates from Jarvis main repo to this #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Build & Test | |
# This will build the following packages | |
# - docs | |
# - packages/* | |
# - packages/extensions/* | |
# - apps/desktop | |
on: | |
push: | |
branches: ["main", "dev", "ci"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- uses: pnpm/action-setup@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
# - name: Move Package Template | |
# run: | | |
# mv ./ci/package.json ./package.json | |
# mv ./ci/pnpm-workspace.yaml ./pnpm-workspace.yaml | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1.1.7 | |
- run: pnpm i | |
- run: pnpm build |