Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: "fix: global installs do not work as I expected" #320

Merged
merged 2 commits into from
Nov 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Revert "fix: global installs do not work as I expected (#319)"
This reverts commit 9dd38e4.
derberg authored Nov 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 41ab8098bbe3729f8a3ba12237d61e7016c90710
17 changes: 2 additions & 15 deletions .github/actions/slackify-markdown/action.yml
Original file line number Diff line number Diff line change
@@ -19,21 +19,12 @@ runs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: Create and initialize slackify directory
shell: bash
run: | # We need to create a directory to install the slackify-markdown package to avoid conflicting with repositories using pnpm.
mkdir slackify
cd slackify
npm init -y
- name: Install slackify-markdown package
shell: bash
working-directory: slackify
run: |
npm install [email protected]
run: npm install -g [email protected]
- name: Slackify
uses: actions/github-script@v6
id: slackify
working-directory: slackify
env:
MARKDOWN: ${{ inputs.markdown }}
with:
@@ -46,8 +37,4 @@ runs:
core.setOutput('text', mrkdwn);
} catch (error) {
core.setFailed(error.message);
}
- name: Clean up slackify directory
shell: bash
run: |
rm -rf slackify
}