Skip to content

update buildWasm function #9

update buildWasm function

update buildWasm function #9

Workflow file for this run

name: Web Utils Test
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'src/**'
- 'test/**'
- 'lib/**'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- 'src/**'
- 'test/**'
- 'lib/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [lts/*]
steps:
- uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Pre-build dependencies
run: npm install yarn
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Prepare Test
run: yarn setup-test
- name: Test
run: yarn test