Skip to content

Update dependency @devoxa/eslint-config from 3.0.11 to 4.0.0 #288

Update dependency @devoxa/eslint-config from 3.0.11 to 4.0.0

Update dependency @devoxa/eslint-config from 3.0.11 to 4.0.0 #288

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
jobs:
test-and-build:
name: 'Test & build'
runs-on: buildjet-4vcpu-ubuntu-2204
timeout-minutes: 30
steps:
- name: 'Checkout the repository'
uses: actions/checkout@v4
- name: 'Setup Node.JS'
uses: actions/setup-node@v4
with:
node-version: '20.9'
- name: 'Cache dependencies'
uses: buildjet/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}
- name: 'Install dependencies'
run: yarn install --frozen-lockfile
- name: 'Check code formatting'
run: yarn format:check
- name: 'Run linter'
run: yarn lint
- name: 'Build package'
run: yarn build
- name: 'Set up Docker BuildX'
if: ${{ github.event_name == 'push' }}
uses: docker/setup-buildx-action@v3
- name: 'Login to Dockerhub registry'
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v3
with:
username: devoxa
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: 'Build and push Docker container'
if: ${{ github.event_name == 'push' }}
uses: docker/build-push-action@v6
with:
push: true
tags: devoxa/mock-s3:latest
cache-from: type=gha
cache-to: type=gha,mode=max