Fixed the linting PR nominating me and me thus getting 2 notification… #3174
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: pnpm/action-setup@v3 | |
with: | |
version: 9.5.0 | |
package_json_file: webclient/package.json | |
run_install: | | |
- cwd: webclient | |
args: [--frozen-lockfile, --strict-peer-dependencies] | |
- args: [--global, openapi-format] | |
- run: pnpm run lint | |
working-directory: webclient | |
- run: pnpm run type-check | |
working-directory: webclient | |
webclient-build: | |
uses: ./.github/workflows/_docker-build.yml | |
needs: | |
- webclient-linting | |
with: | |
image_suffix: webclient | |
context: ./webclient | |
dockerfile: Dockerfile | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
attestations: write |