Fix the previous commit #27
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: Drivers test run | |
on: push | |
jobs: | |
js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
- name: Install npm | |
run: sudo apt-get install -y curl unzip && curl -fsSL https://fnm.vercel.app/install | bash && export PATH="/$HOME/.local/share/fnm:$PATH" && eval "`fnm env`" && fnm install v20.6.1 && fnm use v20.6.1 && npm -g i npm@latest | |
- name: Install Deno and Bun | |
run: npm install -g npm@latest; npm install -g bun deno-bin | |
- name: Build Kivi | |
run: cd core && zig build && cd ../drivers/js/nodejs && zig build | |
- name: Run Nodejs tests | |
run: cd drivers/js && npm run nodejs-test | |
- name: Run Bun tests | |
run: cd drivers/js && npm run bun-test | |
- name: Run Deno tests | |
run: cd drivers/js && npm run deno-test |