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+ name : Daily build
2+
3+ on :
4+ push :
5+ paths :
6+ - .github/workflows/daily-release.yaml
7+ schedule :
8+ - cron : 00 03 * * *
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checking out for ${{ github.ref }}
16+ uses : actions/checkout@v2
17+
18+ - run : npm ci --no-production
19+
20+ - name : Propagate versions
21+ run : node_modules/.bin/lerna version --exact --force-publish --no-git-tag-version --no-push --yes `cat package.json | jq -r .version`
22+
23+ - run : npm run bootstrap
24+ - run : npm run build
25+
26+ - name : Run npm pack api
27+ run : |
28+ cd packages/api
29+ npm pack
30+
31+ - name : Run npm pack bundle
32+ run : |
33+ cd packages/bundle
34+ npm pack
35+
36+ - name : Run npm pack component
37+ run : |
38+ cd packages/component
39+ npm pack
40+
41+ - name : Run npm pack core
42+ run : |
43+ cd packages/core
44+ npm pack
45+
46+ - name : Run npm pack directlinespeech
47+ run : |
48+ cd packages/directlinespeech
49+ npm pack
50+
51+ - uses : actions/upload-artifact@v2
52+ with :
53+ name : tarball
54+ path : |
55+ packages/api/*.tgz
56+ packages/bundle/*.tgz
57+ packages/component/*.tgz
58+ packages/core/*.tgz
59+ packages/directlinespeech/*.tgz
60+
61+ - uses : actions/upload-artifact@v2
62+ with :
63+ name : bundle
64+ path : packages/bundle/dist/**/*
65+
66+ # - id: deploy
67+ # uses: azure/webapps-deploy@v2.1.2
68+ # with:
69+ # app-name: webchat-playground
70+ # slot-name: production
71+ # publish-profile: ${{ secrets.PLAYGROUND_PUBLISH_PROFILE }}
72+ # package: packages/playground/build.zip
73+
74+ # - name: Ping deployment
75+ # run: |
76+ # sleep 15
77+ # curl -s ${{ steps.deploy.outputs.webapp-url }}
You can’t perform that action at this time.
0 commit comments