FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
openapi-generator/.github/workflows/samples-javascript.yaml at master · oymo/openapi-generator · GitHub
oymo
/
openapi-generator
Public
forked from
OpenAPITools/openapi-generator
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
openapi-generator
/
.github
/
workflows
/
samples-javascript.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
51 lines (50 loc) · 1.42 KB
Breadcrumbs
openapi-generator
/
.github
/
workflows
/
samples-javascript.yaml
Copy path
File metadata and controls
51 lines (50 loc) · 1.42 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name
:
Samples JS clients
on
:
push
:
paths
:
#
- samples/client/petstore/javascript-flowtyped/**
-
samples/client/petstore/javascript-es6/**
-
samples/client/petstore/javascript-promise-es6/**
pull_request
:
paths
:
#
- samples/client/petstore/javascript-flowtyped/**
-
samples/client/petstore/javascript-es6/**
-
samples/client/petstore/javascript-promise-es6/**
jobs
:
build
:
name
:
Build projects
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
node
:
-
"
18.x
"
-
"
20.x
"
sample
:
#
clients
-
samples/client/petstore/javascript-es6/
-
samples/client/petstore/javascript-promise-es6/
services
:
petstore-api
:
image
:
swaggerapi/petstore
ports
:
-
80:8080
env
:
SWAGGER_HOST
:
http://petstore.swagger.io
SWAGGER_BASE_PATH
:
/v2
steps
:
-
uses
:
actions/checkout@v5
-
name
:
Add hosts to /etc/hosts
run
:
|
sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
-
name
:
Use Node.js 20.x
uses
:
actions/setup-node@v5
with
:
node-version
:
${{ matrix.node }}
cache
:
'
npm
'
#
Or 'yarn'
-
name
:
npm install
working-directory
:
${{ matrix.sample }}
run
:
npm install
-
name
:
npm test
working-directory
:
${{ matrix.sample }}
run
:
npm test
Back
|
FazBrowse Home
|
New Git URL