-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix: global installs do not work as I expected (#319)"
This reverts commit 9dd38e4.
- Loading branch information
Showing
1 changed file
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |