Skip to content

Merge pull request #321 from Cordobo/dependabot/npm_and_yarn/follow-r… #106

Merge pull request #321 from Cordobo/dependabot/npm_and_yarn/follow-r…

Merge pull request #321 from Cordobo/dependabot/npm_and_yarn/follow-r… #106

Workflow file for this run

# Simple workflow for deploying static content to GitHub Pages
name: Deploy github page
on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
cache: npm
node-version-file: '.nvmrc'
- name: Setup Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build angularx-qrcode demo app
id: build
run: npm run ci:build:app
- name: Upload artifact
id: deployment
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
with:
path: 'dist/demo-app/browser'
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e