feat: update @fleek-platform/dashboard@0.21.1 (#720) #3598
This file contains hidden or 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: 🫡 Commit checkups (Verification) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| jobs: | |
| commit-checkups: | |
| runs-on: ubuntu-22.04 | |
| defaults: | |
| run: | |
| shell: bash | |
| environment: 'staging' | |
| env: | |
| DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install Doppler CLI | |
| uses: dopplerhq/cli-action@v3 | |
| - name: Setup Doppler | |
| run: | | |
| doppler configure set token "$DOPPLER_TOKEN" | |
| - name: Env vars health check | |
| run: | | |
| if ! doppler run -- printenv | grep -q 'NEXT_PUBLIC_SDK__AUTHENTICATION_URL'; then | |
| echo "👹 Oops! Missing required environment variable during health check..." | |
| exit 1 | |
| fi | |
| echo "🚑 Doppler envVars seem healthy!" | |
| - name: Setup dotenv | |
| run: | | |
| scripts/setup-ci-dotenv | |
| - run: npm install --include=optional sharp | |
| - name: Install dependencies | |
| run: bun i | |
| - name: Commit checks | |
| run: ./.husky/pre-commit |