File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,30 +26,31 @@ jobs:
2626 - name : npm install, build, and test
2727 run : |
2828 npm install
29- npm run build --if-present
30- npm run test --if-present
29+ npm run build
30+ npm run test:headless
3131
3232 - name : Upload artifact for deployment job
3333 uses : actions/upload-artifact@v4
3434 with :
3535 name : node-app
36- path : .
36+ path : ./dist/browser
3737
3838 deploy :
3939 runs-on : ubuntu-latest
4040 needs : build
41-
41+
4242 steps :
4343 - name : Download artifact from build job
4444 uses : actions/download-artifact@v4
4545 with :
4646 name : node-app
47-
47+
4848 - name : ' Deploy to Azure Web App'
4949 id : deploy-to-webapp
5050 uses : azure/webapps-deploy@v3
5151 with :
5252 app-name : ' text-compare2'
5353 slot-name : ' Production'
5454 package : .
55- publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_23137CCA3349499E9B3DCC0705F4C348 }}
55+ publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_23137CCA3349499E9B3DCC0705F4C348 }}
56+ clean : true
You can’t perform that action at this time.
0 commit comments