Skip to content

build(deps-dev): Bump quicktype from 23.0.168 to 23.2.6 #534

build(deps-dev): Bump quicktype from 23.0.168 to 23.2.6

build(deps-dev): Bump quicktype from 23.0.168 to 23.2.6 #534

Workflow file for this run

---
name: "CI/CD: Continuous integration and continuous deployment"
"on":
push:
branches:
- main
tags:
- "v*"
pull_request:
merge_group:
env:
IMAGE_NAME_MIXEDCASE: "${{ github.repository }}"
TEST_STAGE: tester
PRODUCTION_STAGE: production
jobs:
build-check-test-push:
name: Build, check, test, push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "npm"
- name: Install NPM dependencies
run: npm ci
# This step considers also the files ignored in .dockerignore, such as
# documentation and GitHub Actions workflows.
- name: Check and test outside Docker
run: npm run check-and-build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Lowercase Docker image name
run: |
echo "IMAGE_NAME=${IMAGE_NAME_MIXEDCASE,,}" >> "${GITHUB_ENV}"
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=edge,branch=main
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
type=sha,format=long
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: .
load: true
target: "${{ env.TEST_STAGE }}"
tags: "${{ env.IMAGE_NAME }}:${{ env.TEST_STAGE }}"
- name: Check and test
run: |
docker run --rm "${{ env.IMAGE_NAME }}:${{ env.TEST_STAGE }}"
- name: Login to Docker Hub
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
uses: docker/login-action@v3
with:
username: ${{ secrets.TRANSITDATA_DOCKERHUB_USER }}
password: ${{ secrets.TRANSITDATA_DOCKERHUB_TOKEN }}
- name: Build and push
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
uses: docker/build-push-action@v6
with:
context: .
push: true
target: "${{ env.PRODUCTION_STAGE }}"
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}