Skip to content

chore: update

chore: update #424

Workflow file for this run

name: Build Webapp
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.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: Init webapp
working-directory: ./web
run: |
npx pnpm i
- name: Build webapp
working-directory: ./web
run: |
npx pnpm build
- name: Upload build artifact
uses: actions/[email protected]
with:
name: dist
path: ./web/dist