Skip to content

Chore/update dev portal #173

Chore/update dev portal

Chore/update dev portal #173

Workflow file for this run

name: PR Build
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
# Include commit SHA in the artifact name for security
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}-build
path: build/
retention-days: 7