Skip to content

Bump @types/node from 20.8.9 to 20.9.3 #527

Bump @types/node from 20.8.9 to 20.9.3

Bump @types/node from 20.8.9 to 20.9.3 #527

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master", "feature/**" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: manuc66/node-hp-scan-to
tags: |
# set latest tag for master branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
flavor: |
latest=auto
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- name: Install project dependencies
run: yarn
- name: Test
run: yarn test
- name: Build
run: yarn build
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.head_ref, 'refs/tags/') || startsWith(github.head_ref, 'refs/heads/feature') }}
platforms: linux/amd64,linux/arm/v7,linux/arm/v8,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}