Skip to content

[docs]: init

[docs]: init #181

name: stoream-webui
on:
push:
jobs:
build:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./stoream-webui
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache-dependency-path: ./stoream-webui/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
- name: Rescript build
run: pnpm res:build
- name: Pnpm build
run: pnpm build