Skip to content

chore: migrate Ninja projects here #1

chore: migrate Ninja projects here

chore: migrate Ninja projects here #1

name: hosting-react
on:
push:
branches:
- master
pull_request:
paths:
- hosting/react/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/hosting-react-example.yml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
hosting-react-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Hosting React Darwin
run: |
dfx start --background
pushd hosting/react
make install
popd
hosting-react-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Hosting React Linux
run: |
dfx start --background
pushd hosting/react
make install
popd