Skip to content

build(elixir): pin mix deps using == and use ubuntu-22.04 for CI #125

build(elixir): pin mix deps using == and use ubuntu-22.04 for CI

build(elixir): pin mix deps using == and use ubuntu-22.04 for CI #125

Workflow file for this run

name: Build JavaScript
on:
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
wasm-pack:
- "0.12.1"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Restore dependencies cache
uses: Swatinem/rust-cache@v1
- name: Install wasm-pack
uses: actions-rs/cargo@v1
with:
command: install
args: --version ${{ matrix.wasm-pack }} wasm-pack
- name: Test
run: wasm-pack test --node --firefox --chrome --headless js