Skip to content

Update dependencies, UI5 and homepage URL #16

Update dependencies, UI5 and homepage URL

Update dependencies, UI5 and homepage URL #16

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: CI
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies 🧰
run: npm install --ignore-scripts
- name: Build complete website folder 🛠
run: npm run deploy
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: deploy # The folder the action should deploy.
token: ${{ secrets.GITHUB_TOKEN }} # Adding the token here