Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
Expand All @@ -24,13 +24,26 @@ jobs:

- uses: calcit-lang/setup-cr@0.0.9

- name: "compiles to js"
run: >
caps --ci && yarn install --immutable
&& cr js
&& yarn vite build --base=./
- name: Resolve Calcit dependencies
run: caps --ci

- name: Install JavaScript dependencies
run: yarn install --immutable

- name: Check Calcit types
run: cr --check-only

- name: Check Calcit quality baseline
run: cr analyze quality --baseline config/calcit-quality.json

- name: Compile Calcit JavaScript
run: cr js

- name: Build site
run: yarn vite build --base=./

- name: Deploy to server
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
id: deploy
uses: Pendect/action-rsyncer@v2.0.0
env:
Expand All @@ -43,4 +56,5 @@ jobs:
dest: 'rsync-user@tiye.me:/web-assets/repo/${{ github.repository }}'

- name: Display status from deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: echo "${{ steps.deploy.outputs.status }}"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ extension/dist
.yarn

.calcit-snippets/
.calcit/

.copilot-tmp/
.copilot-tmp/
1,432 changes: 858 additions & 574 deletions calcit.cirru

Large diffs are not rendered by default.

Loading
Loading