Skip to content

chore(deps): update dependency prettier to v3 - autoclosed #343

chore(deps): update dependency prettier to v3 - autoclosed

chore(deps): update dependency prettier to v3 - autoclosed #343

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
permissions:
checks: write
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.7.5
- uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: 'install'
run: pnpm -r i --frozen-lockfile
- name: 'build'
run: |
cd web
pnpm build-ci
cd ..
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TECHCAL_TH }}'
projectId: techcal-th