Add test typescript to CI (#64) #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-typescript: | |
name: Test TypeScript Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arduino/setup-task@v1 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: regen-lang | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: wasm-pack | |
- run: task themes:ci client:ci --output group | |
- run: task themes:build build:wasm build:types --output group | |
- run: task client:test |