File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010jobs :
1111 publish-npm :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : actions/checkout@v2
15- - uses : actions/setup-node@v2
16- with :
17- node-version : ${{ matrix.node-version }}
18- cache : ' yarn'
19- - run : yarn install
20- - uses : JS-DevTools/npm-publish@v1
21- with :
22- tag : ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
23- token : ${{ secrets.NPM_TOKEN }}
12+ uses : cabify/javascript-actions/.github/workflows/npm_publish.yml@main
13+ with :
14+ tag : ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
15+ secrets :
16+ token : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -7,21 +7,4 @@ on: [push]
77
88jobs :
99 test :
10- runs-on : ubuntu-latest
11-
12- steps :
13- - uses : actions/checkout@v2
14- - name : Use Node.js ${{ matrix.node-version }}
15- uses : actions/setup-node@v2
16- with :
17- node-version : 16.x
18- cache : ' yarn'
19- - run : yarn install
20- - name : Run Lint
21- run : yarn lint
22- - name : Run Format
23- run : yarn format:check
24- - name : Run Typecheck
25- run : yarn typecheck
26- - name : Run Tests
27- run : yarn test:ci
10+ uses : cabify/javascript-actions/.github/workflows/tests.yml@main
Original file line number Diff line number Diff line change 11{
22 "name" : " @cabify/prom-react" ,
33 "description" : " Add Prometheus metrics to your React App" ,
4- "version" : " 0.1.9-beta.2 " ,
4+ "version" : " 0.1.9-beta.3 " ,
55 "author" : " Cabify" ,
66 "license" : " Apache-2.0" ,
77 "main" : " ./dist/index.js" ,
You can’t perform that action at this time.
0 commit comments