From 075ddbb810ef60450d42a9b69400b8843f42af38 Mon Sep 17 00:00:00 2001 From: Mathias Wulff Date: Thu, 15 Aug 2024 21:10:18 +1000 Subject: [PATCH] CICD --- .github/workflows/nodejs.yml | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 4c98acba..8b2e6a11 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + - run: yarn --version + - run: bun --version - run: npx yarn install - run: npm run build - run: npm install --location=global . diff --git a/package.json b/package.json index d8bd1b6c..13f8c576 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "prebuild": "rm -fr bin && yarn format", "test-js": "echo todo: async mocha", "test-minify": "yarn build-minify && yarn test-cli && yarn test-js", - "test-cli": "npm uninstall -g rexreplace && npm -g install ./ && yarn test-cli-only", + "test-cli": "npm uninstall --location=global rexreplace && npm --location=global install ./ && yarn test-cli-only # why on earth are they depricating the -g flag", "test-cli-only": "bash test/cli/run.sh", "test-speed": "bash test/speed/run.sh", "rebase": "yarn is-git-clean && git fetch && git rebase origin/main", @@ -69,4 +69,4 @@ "globs": "0.1.4", "yargs": "16" } -} +} \ No newline at end of file