Skip to content

build(deps-dev): bump rollup from 4.18.0 to 4.22.4 #133

build(deps-dev): bump rollup from 4.18.0 to 4.22.4

build(deps-dev): bump rollup from 4.18.0 to 4.22.4 #133

name: Deploy gh-pages
on:
push:
pull_request:
branches:
- $default-branch
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: |
npm ci
./node_modules/.bin/ng test --watch=false --progress=false --browsers=ChromeHeadlessCI
- run: ./node_modules/.bin/ng build
- uses: actions/upload-pages-artifact@v3
with:
path: dist/blog/browser
deploy:
needs: [ build ]
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
steps:
- uses: actions/deploy-pages@v4