Skip to content

feat(fetchStatsFromGA): write bulk to ES index #390

feat(fetchStatsFromGA): write bulk to ES index

feat(fetchStatsFromGA): write bulk to ES index #390

Workflow file for this run

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
services:
rumors-test-db:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.3.2
ports:
- 62223:9200
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test -- --coverage
env:
GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }}
GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }}
GCS_MEDIA_FOLDER: github/${{ github.run_number }}_${{ github.run_attempt }}/
- name: Update coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}