Skip to content

Commit

Permalink
added tmate to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo authored Dec 16, 2021
1 parent d51776b commit bf2c015
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
debug_enabled:
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: 'false'

jobs:
build:
Expand All @@ -23,4 +29,7 @@ jobs:
- run: npm i -g [email protected]
- run: npm ci
- run: cd lib/destack && npm run build
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
- run: npm test

0 comments on commit bf2c015

Please sign in to comment.