Bump got and ava #195
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: | |
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 |