Skip to content

ci: wasm build

ci: wasm build #232

Workflow file for this run

# /**
# * Copyright (c) 2020-Present, Keita Nonaka
# *
# * This source code is licensed under the MIT license found in the
# * LICENSE file in the root directory of this source tree.
# */
name: Web CI
on:
push:
paths:
- web/**
- .github/workflows/webCI.yml
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint, test
working-directory: ./web
run: |
npm install
npm run lint-app
env:
CI: true
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm run build
working-directory: ./web
run: |
npm install
npm run build
env:
CI: true