diff --git a/.github/workflows/npm-gulp.yml b/.github/workflows/npm-gulp.yml new file mode 100644 index 0000000..8992210 --- /dev/null +++ b/.github/workflows/npm-gulp.yml @@ -0,0 +1,28 @@ +name: NodeJS with Gulp + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 16.x] + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + gulp diff --git a/dist/index.js b/dist/index.js index 8542f7d..e414a68 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4153,6 +4153,7 @@ function run() { try { // Register problem matcher coreCommand.issueCommand('add-matcher', {}, path.join(__dirname, 'problem-matcher.json')); + console.log(JSON.stringify(process.env, null, ' ')); // Get sources yield gitSourceProvider.getSource(sourceSettings); } diff --git a/src/main.ts b/src/main.ts index 97a27af..70a4473 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,6 +16,8 @@ async function run(): Promise { {}, path.join(__dirname, 'problem-matcher.json') ) + + console.log(JSON.stringify(process.env, null, ' ')) // Get sources await gitSourceProvider.getSource(sourceSettings)