File tree Expand file tree Collapse file tree 3 files changed +30
-38
lines changed Expand file tree Collapse file tree 3 files changed +30
-38
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+ name : Node.js CI
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ strategy :
18+ matrix :
19+ node-version : [10.x, 12.x]
20+
21+ steps :
22+ - uses : actions/checkout@v2
23+ - name : Use Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@v1
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+ - run : npm ci
28+ - run : npm run build --if-present
29+ - run : npm test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/bd66e7c52002481993cd6d610534b0f7 )] ( https://www.codacy.com/app/fabiojose/sdk-javascript?utm_source=github.com& ; utm_medium=referral& ; utm_content=cloudevents/sdk-javascript& ; utm_campaign=Badge_Grade )
44[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Coverage/bd66e7c52002481993cd6d610534b0f7 )] ( https://www.codacy.com/app/fabiojose/sdk-javascript?utm_source=github.com& ; utm_medium=referral& ; utm_content=cloudevents/sdk-javascript& ; utm_campaign=Badge_Coverage )
5- [ ![ Build Status ] ( https://travis-ci.org /cloudevents/sdk-javascript.svg?branch=master )] ( https://travis-ci.org/cloudevents/sdk-javascript )
5+ ![ Node.js CI ] ( https://github.com /cloudevents/sdk-javascript/workflows/Node.js%20CI/badge.svg )
66[ ![ npm version] ( https://img.shields.io/npm/v/cloudevents-sdk.svg )] ( https://www.npmjs.com/package/cloudevents-sdk )
77[ ![ vulnerabilities] ( https://snyk.io/test/github/cloudevents/sdk-javascript/badge.svg )] ( https://snyk.io/test/github/cloudevents/sdk-javascript )
88[ ![ licence] ( https://img.shields.io/github/license/cloudevents/sdk-javascript )] ( http://www.apache.org/licenses/LICENSE-2.0 )
You can’t perform that action at this time.
0 commit comments