File tree Expand file tree Collapse file tree
samples/client/petstore/javascript-es6 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Samples JS clients
2+
3+ on :
4+ push :
5+ paths :
6+ - samples/client/petstore/javascript-flowtyped/**
7+ - samples/client/petstore/javascript-es6/**
8+ - samples/client/petstore/javascript-promise-es6/**
9+ pull_request :
10+ paths :
11+ - samples/client/petstore/javascript-flowtyped/**
12+ - samples/client/petstore/javascript-es6/**
13+ - samples/client/petstore/javascript-promise-es6/**
14+ jobs :
15+ build :
16+ name : Build PHP projects
17+ runs-on : ubuntu-latest
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ node :
22+ - " 18.x"
23+ - " 20.x"
24+ sample :
25+ # clients
26+ - samples/client/petstore/javascript-flowtyped/
27+ - samples/client/petstore/javascript-es6/
28+ - samples/client/petstore/javascript-promise-es6/
29+ services :
30+ petstore-api :
31+ image : swaggerapi/petstore
32+ ports :
33+ - 80:8080
34+ env :
35+ SWAGGER_HOST : http://petstore.swagger.io
36+ SWAGGER_BASE_PATH : /v2
37+ steps :
38+ - uses : actions/checkout@v5
39+ - name : Add hosts to /etc/hosts
40+ run : |
41+ sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
42+ - name : Use Node.js 20.x
43+ uses : actions/setup-node@v4
44+ with :
45+ node-version : ${{ matrix.node }}
46+ cache : ' npm' # Or 'yarn'
47+ - name : npm install
48+ working-directory : ${{ matrix.sample }}
49+ run : npm install
50+ - name : npm test
51+ working-directory : ${{ matrix.sample }}
52+ run : npm test
Original file line number Diff line number Diff line change 2121#docs/*.md
2222# Then explicitly reverse the ignore rule for a single file:
2323#!docs/README.md
24+ #
25+ #
26+ #
You can’t perform that action at this time.
0 commit comments