Skip to content

Build app before deploy. #1

Build app before deploy.

Build app before deploy. #1

Workflow file for this run

name: 'Web Build'
on:
push:
paths:
- '.github/workflows/web-check.yaml'
- 'web/**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Node.js Setup
uses: actions/setup-node@v3
with:
node-version: '21.x'
- name: NPM Dependencies
run: npm ci
- name: NPM Cache
uses: actions/cache@v2
with:
path: ./node_modules
key: ${{ runner.os }}-node-${{ hashFiles('package.json') }}
- name: Build app
run: npm run build