Skip to content

chore(deps): all non-major dependencies #646

chore(deps): all non-major dependencies

chore(deps): all non-major dependencies #646

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Preview with Firebase Hosting
on:
pull_request:
paths:
- "src/**"
- "README.md"
- "package.json"
- "docs_statics/*.html"
jobs:
build_and_preview:
name: Build documentation and preview
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
npm ci --only=dev
npm run document
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_WHATSAPPAPIJS }}"
projectId: whatsappapijs