Skip to content

.github/workflows/wasm.yml #1

.github/workflows/wasm.yml

.github/workflows/wasm.yml #1

Workflow file for this run

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
- wasm
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Setup Rust
uses: ATiltedTree/setup-rust@v1.0.5
- run: npm ci
- run: npm test
- run: mkdir coverage
- run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}