diff --git a/.github/actions/init-env/action.yaml b/.github/actions/init-env/action.yaml index 5421db1e3..fd5d72972 100644 --- a/.github/actions/init-env/action.yaml +++ b/.github/actions/init-env/action.yaml @@ -5,6 +5,13 @@ inputs: description: | Filter by project type, must be named filter from step `changes` default: 'all' +outputs: + frontend: + description: "Change affects front end" + value: ${{ steps.frontend.outputs.value }} + backend: + description: "Change affects back end" + value: ${{ steps.backend.outputs.value }} runs: using: 'composite' steps: @@ -24,6 +31,14 @@ runs: - '.npmrc' - '.env.*' + - id: frontend + run: echo "value=${{ steps.changes.outputs.frontend}}" >> $GITHUB_OUTPUT + shell: bash + + - id: backend + run: echo "value=${{ steps.changes.outputs.backend}}" >> $GITHUB_OUTPUT + shell: bash + - uses: pnpm/action-setup@v2 name: Install pnpm if: ${{ inputs.runs-on == 'all' || steps.changes.outputs[inputs.runs-on] == 'true' }} diff --git a/package.json b/package.json index 15b0e81f1..2a9573788 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dev": "vite dev", "test": "vitest run --mode development", "build": "vite build", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check": "svelte-check --tsconfig ./tsconfig.json", "check:watch": "pnpm check --watch", "lint": "prettier --plugin-search-dir . --check . && eslint .", "format": "prettier --plugin-search-dir . --write .",