Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into chore/migrating-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmalinowski committed Jul 22, 2021
2 parents 2825138 + ff0195d commit 1f8b1f2
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 46 deletions.
45 changes: 0 additions & 45 deletions .circleci/config.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Continuous Integration
on:
pull_request:
push:
branches:
- main
permissions: read-all

jobs:
unit-tests:
runs-on: ubuntu-latest
permissions: read-all
strategy:
fail-fast: false
matrix:
nodejs: ['10', '12', '14', '16']
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.nodejs }}
- name: Install NPM dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run compile
- name: Report coverage
run: npm run codecov
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<a href="https://github.com/signalfx/splunk-otel-js/releases">
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/signalfx/splunk-otel-js?include_prereleases&style=for-the-badge">
</a>
<img alt="npm" src="https://img.shields.io/npm/v/@splunk/otel?style=for-the-badge">
<img alt="node-current" src="https://img.shields.io/node/v/@splunk/otel?style=for-the-badge">
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/signalfx/splunk-otel-js?style=for-the-badge&token=XKXjEQKGaK">
<img alt="GitHub branch checks state" src="https://img.shields.io/github/checks-status/signalfx/splunk-otel-js/main?style=for-the-badge">
</p>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"stats"
],
"engines": {
"node": ">=8.0.0"
"node": ">=8.5.0 <17"
},
"files": [
"index.js",
Expand Down

0 comments on commit 1f8b1f2

Please sign in to comment.