File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Node.js CI
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ node-version :
15+ - 14.x
16+ steps :
17+ - uses : actions/checkout@v2
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v2
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+ - run : npm ci
23+ - run : npm run build --if-present
24+ - run : npm test
25+ generate-docs :
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v2
29+ - uses : actions/setup-node@v2
30+ with :
31+ node-version : 14.x
32+ - run : npm ci
33+ - run : npm run docs
34+ - name : Do git actions
35+ run : |
36+ git add --force -- docs/README.md
37+ git commit -m "docs: add generated docs"
38+ git push
Original file line number Diff line number Diff line change 88
99<!-- primary badges -->
1010<p align =" center " >
11+ <img src =" https://github.com/argentlabs/starknet/workflows/Node.js%20CI/badge.svg " >
1112 <img src =' https://img.shields.io/github/package-json/v/seanjameshan/starknet.js?label=npm ' />
1213 <img src =' https://img.shields.io/bundlephobia/minzip/starknet?color=success&label=size ' />
1314 <!-- <img src='https://img.shields.io/npm/dt/starknet?color=blueviolet' /> -->
You can’t perform that action at this time.
0 commit comments