Skip to content

feat: add article about digital transformation #406

feat: add article about digital transformation

feat: add article about digital transformation #406

name: On PR
on:
pull_request:
jobs:
build:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- name: Use Node LTS ✨
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies πŸ“¦οΈ
run: pnpm install --frozen-lockfile
- name: Build πŸ”¨
run: pnpm build
- name: Upload website
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount:
"${{ secrets.FIREBASE_SERVICE_ACCOUNT_BJERK_IO }}"
expires: 30d
target: dev
projectId: bjerk-io
formatting:
name: Lint, format
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- name: Use Node LTS ✨
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install dependencies πŸ“¦οΈ
run: pnpm install --frozen-lockfile
- name: Run formatter πŸ’…
run: pnpm format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}