JS SDK Beta #8
Workflow file for this run
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: JS CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
- name: Setup Deno | |
uses: denoland/[email protected] | |
- name: NPM install with caching | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Node Test | |
run: npm run test | |
- name: Deno Test | |
run: deno test -A ./tests/mod.test.ts |