Skip to content

Merge pull request #127 from grafana/chore/fix-gh-actions #193

Merge pull request #127 from grafana/chore/fix-gh-actions

Merge pull request #127 from grafana/chore/fix-gh-actions #193

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint files
run: npm run lint
- name: Bundle
run: npm run bundle
- name: Test
run: npm test
- name: Build Docker Image
run: |
export tag=${GITHUB_REF/refs\/branches\/}
docker build . -t har-to-k6:tag