feat: add article about digital transformation #406
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |