Skip to content

Merge branch 'master' of https://github.com/Honey-Pi/rpi-webinterface #72

Merge branch 'master' of https://github.com/Honey-Pi/rpi-webinterface

Merge branch 'master' of https://github.com/Honey-Pi/rpi-webinterface #72

Workflow file for this run

name: Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected] # this installs node and npm for us
with:
node-version: '20.10.0'
- uses: actions/[email protected] # this allows for re-using node_modules caching, making builds a bit faster.
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install --save --legacy-peer-deps
- run: npm install -g @angular/cli > /dev/null
- run: ng build --configuration production
# push the /dist folder to your repo
- name: Commit changes
uses: EndBug/[email protected]
with:
default_author: github_actions
message: 'Updating /dist'
add: '.'