Skip to content

ALL-9118 - Upgrade Node, NPM and other libraries #196

ALL-9118 - Upgrade Node, NPM and other libraries

ALL-9118 - Upgrade Node, NPM and other libraries #196

Workflow file for this run

name: Pull request
on:
pull_request:
branches:
- master
jobs:
build:
name: Build and Test
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.20.5'
- run: yarn install
- run: yarn lint
- run: yarn build
- run: yarn test
- name: Generate Test Report
run: npx github-actions-ctrf ctrf/ctrf-report.yml
if: always()
docker-build:
name: Build Docker Image
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: build image
run: docker build . --file Dockerfile -t ${{secrets.DOCKER_USER}}/tatum-kms:latest -t "${{secrets.DOCKER_USER}}/tatum-kms:$(cat ./package.json | jq -r ".version")"
- name: smoke test image
run: docker run -i ${{secrets.DOCKER_USER}}/tatum-kms:latest --help