From f11369981eb42c19459f79cedbaabdfcf6357d81 Mon Sep 17 00:00:00 2001 From: Nathan Vasse Date: Thu, 6 Feb 2025 17:11:59 +0100 Subject: [PATCH] wip --- .github/workflows/meet.yml | 40 ++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/.github/workflows/meet.yml b/.github/workflows/meet.yml index 26e6d3dd..0ff6d9b4 100644 --- a/.github/workflows/meet.yml +++ b/.github/workflows/meet.yml @@ -175,25 +175,53 @@ jobs: - name: Check format run: cd src/frontend/ && npm run check + lint-sdk: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: cd src/sdk/library/ && npm ci + + - name: Check linting + run: cd src/sdk/library/ && npm run lint + + - name: Check format + run: cd src/sdk/library/ && npm run check + + build-sdk: + runs-on: ubuntu-latest + needs: lint-sdk + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install dependencies + run: cd src/sdk/library/ && npm ci + + - name: Check linting + run: cd src/sdk/library/ && npm run lint + + - name: Check format + run: cd src/sdk/library/ && npm run build + i18n-crowdin: runs-on: ubuntu-latest steps: - - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v1 id: app-token with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} owner: ${{ github.repository_owner }} repositories: "infrastructure,secrets" - - - name: Checkout repository + - name: Checkout repository uses: actions/checkout@v4 with: submodules: recursive token: ${{ steps.app-token.outputs.token }} - - - name: Load sops secrets + - name: Load sops secrets uses: rouja/actions-sops@main with: secret-file: secrets/numerique-gouv/meet/secrets.enc.env