Added actions workflow build.yaml
Some checks failed
Build Flutter Web and Docker Image for Local Registry / Build React Native Web App (push) Failing after 6m33s

This commit is contained in:
whysman 2025-02-19 17:24:17 -05:00
parent 2553596a67
commit 392367e64e

View File

@ -0,0 +1,35 @@
name: Build Flutter Web and Docker Image for Local Registry
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build React Native Web App
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npx expo export --platform web
- name: List Web Build Output
run: ls -l ./dist
- name: Copy Files to hosting directory.
run: cp -Rf ./dist/* /home/pogdark/