From 4314ad34f442116dcef5eeaf3b138c73fd1f10db Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Mon, 4 Nov 2024 20:33:49 +0100 Subject: [PATCH] ci: "fix: global installs do not work as I expected" (#320) --- .github/actions/slackify-markdown/action.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/actions/slackify-markdown/action.yml b/.github/actions/slackify-markdown/action.yml index 9449cc7a..9dead14c 100644 --- a/.github/actions/slackify-markdown/action.yml +++ b/.github/actions/slackify-markdown/action.yml @@ -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 slackify-markdown@4.3.1 + run: npm install slackify-markdown@4.3.1 - name: Slackify uses: actions/github-script@v6 id: slackify - working-directory: slackify env: MARKDOWN: ${{ inputs.markdown }} with: @@ -47,7 +38,3 @@ runs: } catch (error) { core.setFailed(error.message); } - - name: Clean up slackify directory - shell: bash - run: | - rm -rf slackify