Skip to content

Bump actions/setup-node from 3 to 4 #7

Bump actions/setup-node from 3 to 4

Bump actions/setup-node from 3 to 4 #7

Workflow file for this run

name: Deploy to Firebase From PR
on:
pull_request:
jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- name: Checkout files
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm i && npm run build
# now deploy to firebase
- name: Deploy site
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_SHARE_MY_TEXT }}"
projectId: sharemytext