Skip to content

Merge pull request #22 from calcit-lang/destruct #57

Merge pull request #22 from calcit-lang/destruct

Merge pull request #22 from calcit-lang/destruct #57

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request: {}
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.12/cr'
name: 'cr'
version: '0.7.12'
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.12/caps'
name: 'caps'
version: '0.7.12'
- name: "test"
run: caps --ci && mode=dev cr --entry test -1
- name: "test js"
run: >
yarn
&& mode=dev cr --entry test -1 --emit-js
&& mode=dev node test.mjs