File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ jobs :
2+ job :
3+ runs-on : ubuntu-22.04
4+ steps :
5+ - uses : docker/login-action@v3
6+ with :
7+ password : ${{ github.token }}
8+ registry : ghcr.io
9+ username : ${{ github.actor }}
10+ - uses : docker/setup-buildx-action@v3
11+ - uses : docker/build-push-action@v6
12+ with :
13+ platforms : linux/amd64,linux/arm64
14+ push : true
15+ tags : ghcr.io/elimity-com/insights-client-js:${{ github.run_id }}
16+
17+ on : workflow_dispatch
Original file line number Diff line number Diff line change 11jobs :
22 eslint :
3- container : node@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
3+ container : ghcr.io/elimity-com/insights-client-js:21215375943
44 runs-on : ubuntu-22.04
55 steps :
66 - uses : actions/checkout@v4
77 - run : npm ci
88 - run : npx eslint .
99
1010 openapi-ts :
11- container : node@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
11+ container : ghcr.io/elimity-com/insights-client-js:21215375943
1212 runs-on : ubuntu-22.04
1313 steps :
1414 - uses : actions/checkout@v4
@@ -17,15 +17,15 @@ jobs:
1717 - run : git -c safe.directory=/__w/insights-client-js/insights-client-js diff --quiet
1818
1919 prettier :
20- container : node@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
20+ container : ghcr.io/elimity-com/insights-client-js:21215375943
2121 runs-on : ubuntu-22.04
2222 steps :
2323 - uses : actions/checkout@v4
2424 - run : npm ci
2525 - run : npx prettier -c .
2626
2727 tsc :
28- container : node@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
28+ container : ghcr.io/elimity-com/insights-client-js:21215375943
2929 runs-on : ubuntu-22.04
3030 steps :
3131 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11jobs :
22 job :
3- container : node@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
3+ container : ghcr.io/elimity-com/insights-client-js:21215375943
44 runs-on : ubuntu-22.04
55 steps :
66 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ FROM node:lts
2+ ADD https://staging.elimity.com/api/spec /root/swagger.json
Original file line number Diff line number Diff line change 11services :
22 dev :
33 entrypoint : sleep infinity
4- image : node@sha256:db5dd2f30cb82a8bdbd16acd4a8f3f2789f5b24f6ce43f98aa041be848c82e45
4+ image : ghcr.io/elimity-com/insights-client-js:21215375943
55 init : true
66 volumes :
77 - .:/app
Original file line number Diff line number Diff line change 11{
22 "client" : " legacy/axios" ,
3- "input" : " https://staging.elimity.com/api/spec " ,
3+ "input" : " /root/swagger.json " ,
44 "name" : " Client" ,
55 "output" : {
66 "format" : " prettier" ,
You can’t perform that action at this time.
0 commit comments