Skip to content

History refactoring #35

History refactoring

History refactoring #35

Workflow file for this run

name: Test and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npx ng test markular --browsers=ChromeHeadless --no-watch
- run: npx ng build markular
- run: npx ng build --project demo --configuration production --base-href "/markular/"
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/demo/browser