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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
calcit.cirru -diff linguist-generated
yarn.lock -diff linguist-generated
LICENSE -diff linguist-generated
Agents.md -diff linguist-generated
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: release

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: install moonbit
run: |
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash
echo "$HOME/.moon/bin" >> $GITHUB_PATH

- name: moon check
run: moon update && moon version && moon check --target js

- name: moon test

Copilot AI Dec 13, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The step name "moon test" is misleading as it actually runs "moon build --target js --debug" rather than running tests. Consider renaming the step to "moon build" or changing the command to run actual tests if they exist.

Suggested change
- name: moon test
- name: moon build

Copilot uses AI. Check for mistakes.
run: moon build --target js --debug

- name: setup credentials
run: |
mkdir -p ~/.moon
echo '${{ secrets.MOON_CREDENTIALS }}' > ~/.moon/credentials.json

- name: moon publish
run: moon publish
Loading