Fix shopify theme pull --only <value>
so it does not delete ignored files
#8021
Workflow file for this run
This file contains 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: Checks | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
env: | |
DEBUG: '1' | |
SHOPIFY_CLI_ENV: development | |
SHOPIFY_CONFIG: debug | |
PNPM_VERSION: '8.15.7' | |
RUBY_VERSION: '3.1.2' | |
BUNDLER_VERSION: '2.3.18' | |
jobs: | |
type-diff: | |
name: '[PR] Type-diff with Node ${{ matrix.node }} in ${{ matrix.os }}' | |
runs-on: ${{ matrix.os }} | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
node: ['18.20.3'] | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checkout [main] | |
with: | |
fetch-depth: 1 | |
- name: Setup deps | |
uses: ./.github/actions/setup-cli-deps | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Build | |
run: pnpm nx run-many --all --skip-nx-cache --target=build --exclude=features --output-style=stream | |
- name: Type-diff | |
working-directory: workspace | |
id: type-diff | |
run: pnpm nx run type-diff | |
- uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # pin@v2.3.1 | |
if: steps.type-diff.outputs.report != '' | |
with: | |
header: Type-diff | |
message: ${{ steps.type-diff.outputs.report }} | |
recreate: true |