Skip to content

chore(deps): update dependency @biomejs/biome to v1.6.4 (#11) #46

chore(deps): update dependency @biomejs/biome to v1.6.4 (#11)

chore(deps): update dependency @biomejs/biome to v1.6.4 (#11) #46

name: Continuous Deployment
# Ensures that only one workflow per branch will run at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
env:
DOMAIN: frontify-app-preview.alev.dev
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout default branch
uses: actions/checkout@v4
- name: Use pnpm
uses: pnpm/action-setup@v3.0.0
with:
version: latest
run_install: false
- name: Use Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Format code
run: pnpm format
- name: Build
run: pnpm build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
force_orphan: true
cname: ${{ env.DOMAIN }}