component KilledAndInjuredCountPerAgeGroupStackedWidget #1216
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches-ignore: | |
- dev | |
- master | |
jobs: | |
build_and_preview: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npx update-browserslist-db@latest | |
- run: npm run build:staging --if-present | |
- run: npm run lint | |
# todo: add unit tests | |
- name: Deploy | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ANYWAY_NEWSFLASH_INFOGRAPHICS }}' | |
channelId: preview | |
projectId: anyway-newsflash-infographics | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels | |
CI: true |