Skip to content

Bump decode-uri-component from 0.2.0 to 0.2.2 #27

Bump decode-uri-component from 0.2.0 to 0.2.2

Bump decode-uri-component from 0.2.0 to 0.2.2 #27

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- master
env:
node-version: 14.x
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.os }}-test-suite-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-test-suite-${{ env.cache-name }}-
${{ runner.os }}-test-suite-
${{ runner.os }}-
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.node-version }}
- name: Install packages
run: npm ci
- name: Build
run: npm run ng -- build kodenames --configuration=production
env:
CI: true
- name: Test
run: npm run test-headless
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KODENAMES_A9BDA }}'
channelId: live
projectId: kodenames-a9bda
env:
FIREBASE_CLI_PREVIEWS: hostingchannels