Update all non-major dependencies #1183
Workflow file for this run
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-e2e-test: | |
strategy: | |
matrix: | |
browser: | |
- chrome | |
- firefox | |
runs-on: ubuntu-latest | |
container: | |
image: cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1 | |
options: --user 1001 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8 | |
package_json_file: webclient/package.json | |
- name: Cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
start: npm run dev | |
wait-on: "http://localhost:3000" | |
browser: ${{ matrix.browser }} | |
working-directory: webclient | |
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 | |
- webclient-e2e-test | |
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 }} |