Merge pull request #470 from tijlleenders/tijl/-/fix-bash-for-nixos #1059
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: Deno | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Install wasm-bindgen | |
run: cargo install wasm-bindgen-cli | |
- name: Add wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Pin wasm-bindgen version | |
run: cargo update -p wasm-bindgen --precise 0.2.95 | |
- name: Run tests | |
run: ./scripts/deno_test.sh |