This repository was archived by the owner on Nov 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ name : Javascript Api Client
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ - master
9+
10+ jobs :
11+ test :
12+ runs-on : self-hosted
13+ steps :
14+ - uses : actions/checkout@v2
15+ - uses : actions/setup-node@v1
16+ with :
17+ node-version : ' 12'
18+ - name : Install dependencies
19+ run : npm install
20+ - name : Run test
21+ run : npm test
22+
23+ publish :
24+ runs-on : self-hosted
25+ needs : test
26+ if : contains('
27+ refs/heads/master
28+ refs/heads/main'
29+ , github.ref)
30+ steps :
31+ - uses : actions/checkout@v2
32+ - uses : actions/setup-node@v1
33+ with :
34+ node-version : ' 12'
35+ - uses : actions/setup-python@v2
36+ - name : Install dependencies
37+ run : npm install
38+ - name : Build
39+ run : npm run build
40+ - name : Release
41+ run : npx semantic-release -e ./config/release.config.js
42+ env :
43+ GITHUB_TOKEN : ${{ secrets.REPOS_TOKEN }}
44+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35GENERATOR=$1
46if [ -z " $GENERATOR " ]; then
57 GENERATOR=openapi-generator.jar
Original file line number Diff line number Diff line change 3838 "@babel/plugin-syntax-import-meta" : " ^7.0.0" ,
3939 "@babel/preset-env" : " ^7.0.0" ,
4040 "@babel/register" : " ^7.0.0" ,
41+ "@semantic-release/github" : " ^7.2.3" ,
42+ "@semantic-release/npm" : " ^7.1.3" ,
4143 "browserify" : " ^16.5.0" ,
44+ "conventional-changelog-eslint" : " ^3.0.9" ,
4245 "expect.js" : " ^0.3.1" ,
4346 "mocha" : " ^5.2.0" ,
4447 "sinon" : " ^7.2.0" ,
You can’t perform that action at this time.
0 commit comments