Skip to content

[Snyk] Upgrade typescript from 4.7.4 to 5.4.5 #139

[Snyk] Upgrade typescript from 4.7.4 to 5.4.5

[Snyk] Upgrade typescript from 4.7.4 to 5.4.5 #139

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: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [14.x]
os: [ubuntu-latest]
language: [javascript]
steps:
- name: Set up Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Downloads Checkouts...
uses: actions/checkout@v2
- name: Create Firebase Configuration for Neon K.I.D
env:
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
run: |
echo $FIREBASE_CONFIG > src/components/Server/firebase/config.json
- name: Initialize CodeQL..
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: N.K Portpolio Build...
run: |
npm install
npm run build:css
npm run build
- name: Deploy Preview Channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_NK_PROJECT_8EC03 }}'
expires: 7d
projectId: nk-project-8ec03
channelId: preview