Skip to content

Merge branch 'main' of https://github.com/ngxpert/input-otp #17

Merge branch 'main' of https://github.com/ngxpert/input-otp

Merge branch 'main' of https://github.com/ngxpert/input-otp #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: '22.x'
- name: Install dependencies
env:
HUSKY: 0
run: npm ci
- name: Build library
run: npm run build:lib
- name: Build app
run: npm run build -- --base-href "/input-otp/"
- name: Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0
run: npx semantic-release
- name: Deploy to GitHub Pages
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx angular-cli-ghpages --name="mr. Dharmen's Bot" --email=shhdharmen@gmail.com --dir=dist/input-otp/browser