Skip to content

fix laterThan/earlierThan #4

fix laterThan/earlierThan

fix laterThan/earlierThan #4

Workflow file for this run

name: Build NPM Package & Docker
on:
push:
branches: [ "main" ]
jobs:
test:
name: test
uses: './.github/workflows/test.yml'
build-docker:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag db-vendo-client:6
build-pkg:
needs: [test]
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}