Skip to content

ci: generate lcov for cypress #302

ci: generate lcov for cypress

ci: generate lcov for cypress #302

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
# used to centralize the node version across workflows
# refs https://arinco.com.au/blog/github-actions-share-environment-variables-across-workflows
# refs https://github.com/marketplace/actions/set-environment-variables
- name: Set Environment Variables
uses: tw3lveparsecs/[email protected]
with:
envFilePath: ./envvars.for.actions
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install
run: npm install --legacy-peer-deps
- name: Build 🔧
env:
NODE_OPTIONS: --openssl-legacy-provider
run: npm run build
- name: Deploy 🚀
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build