Register Component into Software Catalog and set up TechDocs publishi… #243
This file contains hidden or 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: '18' | |
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 |