ci: deploy to firebase

This commit is contained in:
2020-01-14 00:09:50 +01:00
committed by GitHub
parent bad810a30b
commit 1047a38562

24
.github/workflows/master.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '13.x'
- run: npm install
- run: npm test
- run: npm run build
- uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}