Skip to content

fix(vscode): app insights #100

fix(vscode): app insights

fix(vscode): app insights #100

Workflow file for this run

name: Continuous Integration Workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [push]
env:
CI: true
DISPLAY: ':99.0'
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
COVERALLS_GIT_BRANCH: master
APPLICATIONINSIGHTS_CONNECTION_STRING: ${{ secret.APPLICATIONINSIGHTS_CONNECTION_STRING }}

Check failure on line 14 in .github/workflows/nodejs.yml

View workflow run for this annotation

GitHub Actions / Continuous Integration Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/nodejs.yml (Line: 14, Col: 42): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.APPLICATIONINSIGHTS_CONNECTION_STRING
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Environment Variables
uses: tw3lveparsecs/github-actions-setvars@v0.1
with:
envFilePath: ./envvars.for.actions
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: export display
run: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
- name: npm install
run: |
npm i --workspaces
npm run compile --workspaces
- name: npm build
run: |
npm run vscode:prepublish --workspace=vscode
- name: npm test
if: github.ref != 'refs/heads/main'
run: |
npm run test --workspaces
- name: npm coverage
if: github.ref == 'refs/heads/main'
#npm run coveralls --workspace=vscode
run: |
npm run test --workspaces
- name: npm package standalone extension
if: github.ref == 'refs/heads/main'
run: |
npm i -g vsce
npm run generate:vsix --workspace=vscode
- name: store artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v2
with:
name: smelly-test-vscode-extension
path: ./vscode/*.vsix