Skip to content

Commit

Permalink
workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jan 13, 2025
1 parent d92be2e commit 01c4f3c
Show file tree
Hide file tree
Showing 7 changed files with 362 additions and 232 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: yarn

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0-a5/cr'
name: 'cr'
version: '0.8.0-a5'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.0-a5/caps'
name: 'caps'
version: '0.8.0-a5'
- uses: calcit-lang/[email protected]

- name: "compiles to js"
run: >
caps --ci && cr --emit-js --once
caps --ci && cr --once js
&& yarn && yarn vite build --base=./
- name: Deploy to server
Expand Down
2 changes: 1 addition & 1 deletion calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
|persist-storage! $ %{} :CodeEntry (:doc |)
:code $ quote
defn persist-storage! (? e)
println "\"Saved to storage:" $ .toISOString (new js/Date)
println "\"Saved to storage:" $ .!toISOString (new js/Date)
js/localStorage.setItem (:storage-key config/site)
format-cirru-edn $ :store @*reel
|reload! $ %{} :CodeEntry (:doc |)
Expand Down
10 changes: 10 additions & 0 deletions deps.cirru
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{}
:calcit-version |0.9.7
:dependencies $ {}
|calcit-lang/lilac |0.5.0
|calcit-lang/memof |0.0.14
|Respo/respo.calcit |0.16.12
|Respo/reel.calcit |0.6.3
|Respo/respo-markdown.calcit |0.4.7
|Respo/respo-ui.calcit |0.6.2
|calcit-lang/bisection-key |0.0.15
9 changes: 0 additions & 9 deletions package.cirru

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"license": "MIT",
"devDependencies": {
"bottom-tip": "^0.1.5",
"vite": "^4.5.5"
"vite": "^6.0.7"
},
"dependencies": {
"@calcit/procs": "^0.8.2",
"@calcit/procs": "^0.9.7",
"shortid": "^2.2.16"
}
}
547 changes: 343 additions & 204 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 01c4f3c

Please sign in to comment.