Skip to content

Merge branch 'main' of https://github.com/ngxpert/coolshapes #17

Merge branch 'main' of https://github.com/ngxpert/coolshapes

Merge branch 'main' of https://github.com/ngxpert/coolshapes #17

Workflow file for this run

name: Make a Release and Deploy on GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Install dependencies
env:
HUSKY_SKIP_INSTALL: true
HUSKY_SKIP_HOOKS: true
run: npm ci
- name: NPM build, release and deploy
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY_SKIP_HOOKS: true
run: |
npm run build:lib
npm run build -- --base-href "/coolshapes/"
npx semantic-release --no-verify
npx angular-cli-ghpages --no-silent --name="mr. Dharmen's Bot" [email protected] --dir=dist/coolshapes/browser