From 5710e57dcea61e5bb7225a2e8440c23aa201acd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 17 Jun 2024 00:12:21 +0200 Subject: [PATCH] Try to work around #17. --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d8b9ea..544ed25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,11 +47,16 @@ jobs: uses: actions/setup-node@v4.0.2 with: node-version-file: sup/vscode/package.json - # TODO: Remove this hack when `code` is made optional. - - name: Workaround for issue 6 + # TODO: Remove this hack. + - name: Workarounds for issues 6 and 17 run: | mkdir hack + touch hack/code + touch hack/code.exe + + ln -s "$(which npm.cmd)" hack/npm.exe + echo "$PWD/hack" >> $GITHUB_PATH - name: Check source code and documentation run: |