Skip to content

Merge pull request #112 from grafana/fix/various-fixes-related-to-wei… #182

Merge pull request #112 from grafana/fix/various-fixes-related-to-wei…

Merge pull request #112 from grafana/fix/various-fixes-related-to-wei… #182

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
env:
cache-name: node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: yarn
- name: Lint
run: yarn lint
- name: Bundle
run: yarn bundle
- name: Test
run: yarn test
- name: Build Docker Image
run: |
export tag=${GITHUB_REF/refs\/branches\/}
docker build . -t har-to-k6:tag