This repository was archived by the owner on Sep 24, 2025. It is now read-only.
chore: bump vite from 6.3.5 to 6.3.6 #130
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: "check and build" | |
| on: | |
| # pull_request_target: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/wf_check.yaml' | |
| - '.github/workflows/nhost-js_checks.yaml' | |
| - 'flake.nix' | |
| - 'flake.lock' | |
| - 'nix/**' | |
| - 'build/**' | |
| - 'package.json' | |
| - 'pnpm-lock.yaml' | |
| - 'pnpm-workspace.yaml' | |
| - "packages/nhost-js/**" | |
| - "demos/**" | |
| - "guides/**" | |
| - "docs/**" | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| check-permissions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| echo "github.event_name: ${{ github.event_name }}" | |
| echo "github.event.pull_request.author_association: ${{ github.event.pull_request.author_association }}" | |
| - name: "This task will run and fail if user has no permissions and label safe_to_test isn't pressent" | |
| if: "github.event_name == 'pull_request_target' && ! ( contains(github.event.pull_request.labels.*.name, 'safe_to_test') || contains(fromJson('[\"OWNER\", \"MEMBER\", \"COLLABORATOR\"]'), github.event.pull_request.author_association) )" | |
| run: | | |
| exit 1 | |
| tests: | |
| uses: ./.github/workflows/wf_check.yaml | |
| needs: | |
| - check-permissions | |
| with: | |
| NAME: nhost-js | |
| GIT_REF: ${{ github.event.pull_request.head.sha }} | |
| PROJECT_PATH: . | |
| secrets: | |
| AWS_ACCOUNT_ID: ${{ secrets.AWS_PRODUCTION_CORE_ACCOUNT_ID }} | |
| NIX_CACHE_PUB_KEY: ${{ secrets.NIX_CACHE_PUB_KEY }} | |
| NIX_CACHE_PRIV_KEY: ${{ secrets.NIX_CACHE_PRIV_KEY }} | |
| remove_label: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - check-permissions | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-ecosystem/action-remove-labels@v1 | |
| with: | |
| labels: | | |
| safe_to_test | |
| if: contains(github.event.pull_request.labels.*.name, 'safe_to_test') |