Skip to content

Commit

Permalink
change compile command, add debug step to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vincerubinetti authored Jan 8, 2024
1 parent adb9368 commit 90600ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 90600ea

Please sign in to comment.