Skip to content

Update cypress config for deployed github pages. Update build and dep… #2

Update cypress config for deployed github pages. Update build and dep…

Update cypress config for deployed github pages. Update build and dep… #2

name: Build and Deploy
on:
push:
branches: [main]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Set Global Config
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions"
- name: Build and Deploy
run: npm run deploy