Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

# This file is autogenerated by maturin v1.3.1
# To update, run
#
# maturin generate-ci github
#
name: WebAssembly
on:
push:
branches:
- main
- master
- github-workflow-test
tags:
- '*'
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: jetli/[email protected]
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- steps:
- uses: actions/checkout@v2
- run: |
wasm-pack --version
wasm-pack build --target web