Skip to content

Merge pull request #229 from rewbs/fix-cn_N_guidance_end-defaults #162

Merge pull request #229 from rewbs/fix-cn_N_guidance_end-defaults

Merge pull request #229 from rewbs/fix-cn_N_guidance_end-defaults #162

name: Deploy to Firebase Hosting staging on merge
'on':
push:
branches:
- master
jobs:
release_and_deploy_to_staging:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version-type: 'patch'
- name: Build
uses: actions/setup-node@v3
with:
node-version: 19
- run: npm install
- run: npm run build
- run: npm test
- name: Firebase deploy to staging
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SD_PARSEQ }}'
channelId: staging
projectId: sd-parseq