diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml new file mode 100644 index 0000000..0a6311c --- /dev/null +++ b/.github/workflows/master.yml @@ -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 }}