Skip to content

ci: set node 16.15.1 #4

ci: set node 16.15.1

ci: set node 16.15.1 #4

Workflow file for this run

name: Deploy Angular SPA to GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js 16.15.1
uses: actions/setup-node@v1
with:
node-version: '16.15.1'
- name: Build
run: |
npm install -g @angular/cli
npm install --legacy-peer-deps
ng build --prod --base-href=""
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v2
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: dist/git-catalogue