Skip to content

Commit

Permalink
wip: correct outputs var
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 16, 2024
1 parent 1046c6b commit e308b7e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/actions/setup-base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ runs:
- name: ⬢ Setup Node & Cache
uses: actions/setup-node@v4
with:
node-version: $NODE_VERSION
cache: "npm"
cache-dependency-path: package-lock.json

Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/backstop-sanity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: Sanity Test Checks

on:
workflow_dispatch:
DEBUG_ENABLED:
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
type: boolean
required: false
default: false
DEBUG_DETACHED:
description: "whether to launch tmate in detached mode (if the tmate action is run)"
type: boolean
required: false
default: true
inputs:
DEBUG_ENABLED:
description: "Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)"
type: boolean
required: false
default: false
DEBUG_DETACHED:
description: "whether to launch tmate in detached mode (if the tmate action is run)"
type: boolean
required: false
default: true

workflow_call:

Expand Down Expand Up @@ -45,10 +46,10 @@ jobs:
- name: Checkout to workspace
shell: bash
run: |
rm -rf ${{ steps.setup_base.outputs.WORKSPACE_ROOT }}/*
rm -rf ${{ steps.setup_base.outputs.WORKSPACE_ROOT }}/*.*
git clone -b ${{ github.head_ref || github.ref_name }} https://github.com/${{ github.repository }}.git ${{ steps.setup_base.outputs.WORKSPACE_ROOT }}
ls ${{ steps.setup_base.outputs.WORKSPACE_ROOT }}
rm -rf ${{ steps.base.outputs.WORKSPACE_ROOT }}/*
rm -rf ${{ steps.base.outputs.WORKSPACE_ROOT }}/*.*
git clone -b ${{ github.head_ref || github.ref_name }} https://github.com/${{ github.repository }}.git ${{ steps.base.outputs.WORKSPACE_ROOT }}
ls ${{ steps.base.outputs.WORKSPACE_ROOT }}
- name: "𓋏 Run `npm run sanity-test`"
continue-on-error: true
Expand Down

0 comments on commit e308b7e

Please sign in to comment.