Skip to content

Commit

Permalink
chore(ci): ensure playwright native dependencies are installed before…
Browse files Browse the repository at this point in the history
… publishing

Signed-off-by: Nathan Klick <[email protected]>
  • Loading branch information
nathanklick committed Dec 12, 2023
1 parent 481172d commit 598199a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,18 @@ jobs:
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 18
cache: pnpm

- name: Install NPM Dependencies
run: task install

- name: Install Playwright Dependencies
run: sudo npx playwright install-deps

- name: Calculate Publish Arguments
id: publish
run: |
PUBLISH_ARGS="--access public"
PUBLISH_ARGS="--access public --no-git-checks"
[[ "${{ github.event.inputs.dry-run-enabled }}" == "true" ]] && PUBLISH_ARGS="${PUBLISH_ARGS} --dry-run"
echo "args=${PUBLISH_ARGS}" >>"${GITHUB_OUTPUT}"
# Add the registry authentication stanza with variable substitution to the .npmrc configuration file.
Expand Down

0 comments on commit 598199a

Please sign in to comment.