ci: cloud run auto deploy #480
Workflow file for this run
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 test | |
on: | |
# Triggers the workflow on push or pull request events but only for the dev branch | |
- pull_request | |
- push | |
# Allows you to run this workflow manually from the Actions tab | |
- workflow_dispatch | |
jobs: | |
install-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run typecheck | |
- run: npm run i18n:validate | |
- run: npm run test -- --coverage | |
- name: Update coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |