Skip to content

Merge pull request #37 from lukic79/patch-1 #69

Merge pull request #37 from lukic79/patch-1

Merge pull request #37 from lukic79/patch-1 #69

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: '.'