-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 924 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Main
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Download Screenshots
uses: dawidd6/action-download-artifact@v4
with:
workflow: update-visual-baseline.yml
workflow_conclusion: success
event: push
name: screenshots
path: ./test/__screenshots__
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npm run test
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEBSITE_A9706 }}'
projectId: website-a9706
channelId: live