Skip to content

perf(webauthn-angular): Improve styles & refresh authenticator with s… #12

perf(webauthn-angular): Improve styles & refresh authenticator with s…

perf(webauthn-angular): Improve styles & refresh authenticator with s… #12

Workflow file for this run

name: CI
on:
push:
branches:
- main
- feature/*
pull_request:
permissions:
pages: write
actions: write
contents: write
jobs:
build:
name: Build Page
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Connect your workspace on nx.app and uncomment this to enable task distribution.
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "build" targets have been requested
# - run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="build"
# Cache node_modules
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci
- uses: nrwl/nx-set-shas@v4
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
# - run: npx nx-cloud record -- echo Hello World
- run: npx nx run-many -t lint
- run: npm run build:webauthn-angular:github-pages
- uses: actions/cache@v3
id: restore-build
with:
path: ./*
key: ${{ github.sha }}
deploy:
name: Deploy Page
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- uses: actions/cache@v3
id: restore-build
with:
path: ./*
key: ${{ github.sha }}
# Deploy your page in GitHub Page
- name: Deploy GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/apps/webauthn-angular/browser # Folder Final Build