File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ deploy :
8+ runs-on : ubuntu-latest
9+ timeout-minutes : 20
10+
11+ steps :
12+ - name : Get sources
13+ uses : actions/checkout@v3
14+
15+ - name : Use Node.js
16+ uses : actions/setup-node@v3
17+ with :
18+ node-version : ' 20'
19+
20+ - name : Restore npm cache
21+ uses : actions/cache@v3
22+ with :
23+ path : ./node_modules
24+ key : ${{ runner.os }}-node-modules
25+
26+ - name : Run npm install
27+ run : npm install --no-audit --no-fund
28+
29+ - name : Install Internal Package
30+ run : |
31+ echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
32+ DEVEXTREME_INTERNAL_VERSION=$(npm pkg get dependencies.devextreme --workspaces=false | tr -d '"')
33+ npm pack @devexpress/devextreme-internal@$DEVEXTREME_INTERNAL_VERSION --registry https://npm.pkg.github.com
34+ npm i devextreme@$(find . -name DevExpress-devextreme-internal-*.tgz)
35+
36+ - name : Build
37+ run : npm run build
38+
39+ - name : Deploy
40+ uses : JamesIves/github-pages-deploy-action@ba1486788b0490a235422264426c45848eac35c6
41+ with :
42+ branch : gh-pages
43+ folder : dist
44+ target-folder : .
You can’t perform that action at this time.
0 commit comments