Skip to content

update github action versions #15

update github action versions

update github action versions #15

Workflow file for this run

name: CI / CD for BFH (GitHub Pages)
on:
push:
branches:
- main
- develop
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Set up node.js
uses: actions/setup-node@v4.2.0
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build:bfh
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: dist/
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4.0.5