added center on click functionality #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Privateer Webserver Frontend CI/CD | |
on: | |
pull_request: | |
branches: [ "webserver" ] | |
paths: | |
- webserver/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build frontend | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: | | |
export NODE_OPTIONS=--max-old-space-size=8192 | |
cd webserver | |
npm ci | |
npm run build | |
cp ../.htaccess dist | |
mv dist public_html | |
cd .. | |