Skip to content

Update consent mode #153

Update consent mode

Update consent mode #153

Workflow file for this run

name: Deploy Angular Project
on:
push:
branches:
- main
permissions:
contents: write
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps
# - name: Run unit tests
# run: npm run test -- --watch=false
- name: Run E2E tests
run: npm run e2e
env:
# Add CI environment variable to indicate running in CI environment
CI: true
- name: Deploy to GitHub Pages
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run deploy