Skip to content

Merge pull request #56 from tacerus/readme #132

Merge pull request #56 from tacerus/readme

Merge pull request #56 from tacerus/readme #132

name: Check npm run build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_BASE_PATH: /project-portal
steps:
- name: Get files
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Install packages
run: npm ci
- name: Build project
run: npm run build
- name: Export static files
run: npm run export
- name: Add .nojekyll file
run: touch ./out/.nojekyll