Upgrade common OTEL packages used by other OTEL packages to prevent having multiple versions of the same OTEL packages #826
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Continuous Build (NodeJS)" | |
| on: | |
| push: | |
| paths: | |
| - 'nodejs/**' | |
| - '.github/workflows/ci-nodejs.yml' | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - 'nodejs/**' | |
| - '.github/workflows/ci-nodejs.yml' | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - run: npm install | |
| working-directory: nodejs | |
| - run: npm run lint | |
| working-directory: nodejs | |
| - run: npm test | |
| working-directory: nodejs |