diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index 424e464..f4697f9 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -11,6 +11,9 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - if: runner.debug == '1' + uses: mxschmitt/action-tmate@v3 + - name: Install packages run: yarn install diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 69c3052..88019eb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -15,6 +15,9 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - if: runner.debug == '1' + uses: mxschmitt/action-tmate@v3 + - name: Install packages run: yarn install diff --git a/package.json b/package.json index aac4c1c..1fec462 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "dev": "vite", - "compile": "npx ts-node --transpileOnly --esm --experimental-specifier-resolution=node --files ./compile/index.ts", + "compile": "npx --yes ts-node --transpileOnly --esm --experimental-specifier-resolution=node --files ./compile/index.ts", "build": "tsc && vite build", "preview": "vite preview", "lint": "eslint . --ext .tsx,.ts --fix && prettier --write \"**/*.{tsx,ts,css}\" --no-error-on-unmatched-pattern"