Skip to content

npm: bump cypress from 13.3.0 to 13.3.1 (#294) #108

npm: bump cypress from 13.3.0 to 13.3.1 (#294)

npm: bump cypress from 13.3.0 to 13.3.1 (#294) #108

name: build-and-deploy-main
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- name: Build
run: |
npm ci --omit=dev
npm run build
env:
PATH_PREFIX: /engineering-guidance-and-standards
SITE_ROOT: https://ho-cto.github.io/engineering-guidance-and-standards/
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v2
with:
path: _site
deploy:
runs-on: ubuntu-22.04
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
id: deployment