Skip to content

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

ALL-9118 - Upgrade Node, NPM and other libraries

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

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
- run: npx github-actions-ctrf summary ctrf/ctrf-report.json --pull-request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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