Skip to content

chore: dependency updates #650

chore: dependency updates

chore: dependency updates #650

Workflow file for this run

name: cicd
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
# audit:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/actions/install
# - run: npm audit
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install
- run: npm run lint
build:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install
- run: npm run build
- run: npm prune --production
- uses: docker/metadata-action@v5
id: metadata
with:
images: runmymind/fleetbot
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: int128/kaniko-action@v1
with:
push: true
file: ./docker/Dockerfile
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache: true
cache-repository: runmymind/fleetbot/cache