File tree Expand file tree Collapse file tree 2 files changed +173
-176
lines changed
Expand file tree Collapse file tree 2 files changed +173
-176
lines changed Original file line number Diff line number Diff line change 77 branches :
88 - main
99 - master
10+ - next
1011
1112env :
1213 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -37,17 +38,16 @@ jobs:
3738 - name : Install dependencies
3839 run : |
3940 sudo apt-get update
40- npm install -g pnpm
4141 npm install -g typescript
4242 - name : Build
4343 id : app_build
4444 run : |
45- pnpm install
46- pnpm run build:lib
47- - uses: actions/upload-artifact@v3
45+ npm install
46+ npm run build
47+ - uses : actions/upload-artifact@v4
4848 with :
4949 name : production-files
50- path: "${{ join(fromJSON(steps.app_build.outputs.artifacts), '\n') }}"
50+ path : dist
5151 deploy :
5252 runs-on : ubuntu-latest
5353 name : Deploy
@@ -60,15 +60,16 @@ jobs:
6060 - name : Create Deploy Directory
6161 run : mkdir -p dist
6262 - name : Download artifact
63- uses: actions/download-artifact@v2
63+ uses : actions/download-artifact@v4
6464 with :
6565 name : production-files
6666 path : ./dist
6767 - name : Setup node
6868 uses : actions/setup-node@v3
6969 with :
7070 node-version : 18
71- - run: npm install -g conventional-changelog-conventionalcommits
71+ - name : Install dependencies
72+ run : npm install
7273 - run : npm install -g semantic-release@v19.0.5
7374 - run : npm install -g @semantic-release/exec
7475 - run : npm install -g @semantic-release/git
7980 env :
8081 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8182 # sudo apt-get install -y jq
82- #chmod +x ./scripts/prepareCMD.sh
83+ # chmod +x ./scripts/prepareCMD.sh
8384 run : |
8485 semantic-release
8586
You can’t perform that action at this time.
0 commit comments