Skip to content

Merge pull request #104 from xeptagondev/staging_release_7 #4

Merge pull request #104 from xeptagondev/staging_release_7

Merge pull request #104 from xeptagondev/staging_release_7 #4

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- dev
- staging
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: ./ui/yarn.lock
- name: Install Dependencies
run: yarn install --frozen-lockfile
working-directory: ./ui
- name: Build Project
run: yarn build
working-directory: ./ui
- name: Export Project
run: yarn export
working-directory: ./ui
- name: Create .nojekyll File
run: touch ./out/.nojekyll
working-directory: ./ui
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./ui/out