Skip to content

Commit

Permalink
wip: pass in workspace root
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 16, 2024
1 parent bc15be0 commit 72ac2d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: "Setup Node and Dependencies"
description: "Sets up Node, npm caching, and installs dependencies"

inputs:
WORKSPACE_ROOT:
required: true

runs:
using: "composite"
steps:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/backstop-sanity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- uses: ./actions/.github/actions/setup-node
id: node
with:
WORKSPACE_ROOT: ${{ steps.base.outputs.WORKSPACE_ROOT }}

- name: "𓋏 Run `npm run sanity-test`"
continue-on-error: true
Expand Down Expand Up @@ -103,6 +105,8 @@ jobs:

- uses: ./actions/.github/actions/setup-node
id: node
with:
WORKSPACE_ROOT: ${{ steps.base.outputs.WORKSPACE_ROOT }}

- name: "🎭 Run `npm run sanity-test-playwright`"
continue-on-error: true
Expand Down

0 comments on commit 72ac2d0

Please sign in to comment.