Skip to content

Fixed a linting error #1960

Fixed a linting error

Fixed a linting error #1960

name: Webclient CI/CD
on:
pull_request:
branches: [main]
types: [opened, reopened, synchronize]
push:
branches: [main]
workflow_dispatch:
jobs:
webclient-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: 'webclient/package.json'
- run: npm install --prefix webclient
- run: npm run lint --prefix webclient
#- run: npm run type-check --prefix webclient
webclient-build:
uses: ./.github/workflows/_docker-build.yml
needs:
- webclient-linting
with:
image_suffix: webclient
context: ./webclient
dockerfile: Dockerfile
permissions:
contents: read
packages: write
webclient-deployment:
uses: ./.github/workflows/_restart-argocd.yml
if: ${{ github.ref }} == 'refs/heads/main'
needs:
- webclient-build
with:
deployment: webclient
secrets:
ARGOCD_TOKEN: ${{ secrets.ARGOCD_TOKEN }}