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
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
publish-npm:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 20
node-version: 24
registry-url: https://registry.npmjs.org/
cache: yarn

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

- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page

Expand Down
55 changes: 30 additions & 25 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,33 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'

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

- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page

- name: Upload web assets
id: deploy
uses: Pendect/action-rsyncer@v2.0.0
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
flags: '-avzr --progress'
options: ''
ssh_options: ''
src: 'dist/*'
dest: 'rsync-user@tiye.me:/web-assets/repo/${{ github.repository }}'

- name: Display status from deploy
run: echo "${{ steps.deploy.outputs.status }}"
- uses: actions/checkout@v6

- name: Enable pinned Yarn
run: corepack enable && corepack install --global yarn@4.12.0

- uses: actions/setup-node@v6
with:
node-version: 24
cache: 'yarn'

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

- run: caps --ci && yarn install --immutable && yarn compile-server && yarn compile-page && yarn release-page

- name: Upload web assets
id: deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: Pendect/action-rsyncer@v2.0.0
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
flags: '-avzr --progress'
options: ''
ssh_options: ''
src: 'dist/*'
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 }}"
15,935 changes: 2,507 additions & 13,428 deletions calcit.cirru

Large diffs are not rendered by default.

Loading
Loading