File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed
Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change 99 REGION : cn-hongkong
1010
1111jobs :
12- docker-ci :
12+ docker-ci-standard :
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v2
6464 - name : test dotnetcore
6565 run : |
6666 cd __tests__/e2e/dotnetcore && sudo ./run && cd -
67+
68+ docker-ci-custom :
69+ runs-on : ubuntu-latest
70+ steps :
71+ - uses : actions/checkout@v2
72+ - uses : docker/setup-buildx-action@v2
73+ - uses : actions/setup-node@v2
74+ with :
75+ node-version : 16
76+ registry-url : https://registry.npmjs.org/
77+ - name : Set up Go
78+ uses : actions/setup-go@v2
79+ with :
80+ go-version : 1.18
81+ - name : Set up Java
82+ uses : actions/setup-java@v1
83+ with :
84+ java-version : 8
85+ - name : Install dependencies
86+ run : |
87+ sudo apt-get update
88+ sudo apt-get install -y wget curl
89+ - name : install s
90+ run : |
91+ sudo npm i @serverless-devs/s -g
92+ - name : config s
93+ run : |
94+ sudo s config add --AccountID ${{secrets.ACCOUNTID}} --AccessKeyID ${{secrets.ACCESSKEYID}} --AccessKeySecret ${{secrets.ACCESSKEYSECRET}} -a quanxi -f
95+ - name : Configure NPM
96+ run : |
97+ npm config set registry https://registry.npmjs.org
98+ npm config set '//packages.aliyun.com/670e108663cd360abfe4be65/npm/npm-registry/:_authToken' ${{secrets.NPM_TOKEN}}
99+ - name : NPM install
100+ run : |
101+ npm install
102+ - name : NPM run build
103+ run : |
104+ npm run build
67105 - name : test apt
68106 run : |
69107 cd __tests__/e2e/apt && sudo ./run && cd -
You can’t perform that action at this time.
0 commit comments