File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,24 +38,14 @@ jobs:
3838 - name : Install dependencies
3939 run : pnpm install --frozen-lockfile
4040
41- - name : Get turbo filter
42- id : get-turbo-filter
43- run : |
44- if [ "${{ github.event_name }}" == "pull_request" ]; then
45- TURBO_FILTER="--filter=...[origin/${{ github.base_ref }}]"
46- echo "This is a pull request event. Setting turbo filter to '$TURBO_FILTER'"
47- elif [ "${{ github.event_name }}" == "push" ]; then
48- TURBO_FILTER="--filter=...[${{ github.event.before }}]"
49- echo "This is a push event. Setting turbo filter to '$TURBO_FILTER'"
50- else
51- echo "Unsupported event '${{ github.event_name }}' detected. Exiting."
52- exit 1
53- fi
54-
55- echo "TURBO_FILTER=$TURBO_FILTER" >> $GITHUB_OUTPUT
56-
57- - name : Codegen
58- run : pnpm codegen
59-
60- - name : Run all
61- run : pnpm turbo typecheck format:check lint test ${{ steps.get-turbo-filter.outputs.TURBO_FILTER }}
41+ - name : Run typecheck
42+ run : pnpm turbo typecheck
43+
44+ - name : Run format:check
45+ run : pnpm turbo format:check
46+
47+ - name : Run lint
48+ run : pnpm turbo lint
49+
50+ - name : Run tests
51+ run : pnpm turbo test
You can’t perform that action at this time.
0 commit comments