From daa25abccf88d41552a6c3f094dffb37076d6eec Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Wed, 20 Jan 2021 13:27:01 -0800 Subject: [PATCH] WIP --- .github/workflows/test.yml | 6 +++--- bin/semantic-release.js | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ed4497a..24241a76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,9 +17,9 @@ jobs: strategy: matrix: node-version: - - 10 + # - 10 - 12 - - 14 + # - 14 runs-on: ubuntu-latest @@ -32,7 +32,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - uses: bahmutov/npm-install@v1 - - run: npm run test:ci + - run: npx ava test/integration.test.js # separate job to set as required in branch protection, # as the build names above change each time Node versions change diff --git a/bin/semantic-release.js b/bin/semantic-release.js index 1eb1f99f..645d1e9a 100755 --- a/bin/semantic-release.js +++ b/bin/semantic-release.js @@ -21,7 +21,12 @@ See https://github.com/semantic-release/semantic-release/blob/master/docs/suppor process.exit(1); } +console.log("DEBUG START ==========") +console.log('process.env') console.log(process.env) +console.log('envCi({ env: process.env })') +console.log(require('env-ci')({ env: process.env })) +console.log("DEBUG END ==========") execa('git', ['--version']) .then(({stdout}) => {