Skip to content

Commit 80afd13

Browse files
fix: debugging CI script
1 parent 5169281 commit 80afd13

File tree

1 file changed

+1
-40
lines changed

1 file changed

+1
-40
lines changed

Diff for: .github/workflows/nodejs.yml

+1-40
Original file line numberDiff line numberDiff line change
@@ -55,43 +55,4 @@ jobs:
5555
uses: actions/upload-artifact@master
5656
with:
5757
name: Ambianic-UI
58-
path: /home/runner/work/ambianic-ui/ambianic-ui
59-
60-
deploy:
61-
runs-on: ubuntu-latest
62-
needs: test
63-
steps:
64-
- name: Download Artifact
65-
uses: actions/download-artifact@master
66-
with:
67-
name: Ambianic-UI
68-
path: /home/runner/work/ambianic-ui/ambianic-ui
69-
70-
- name: Debugging
71-
run: |
72-
pwd
73-
ls -al
74-
75-
- name: Build PWA distribution for production
76-
run: |
77-
npm run build --if-present
78-
env:
79-
CI: true
80-
81-
- name: Run Lighthouse PWA check against local production build
82-
uses: treosh/lighthouse-ci-action@v2
83-
with:
84-
# no urls needed, since it uses local folder to scan .html files
85-
# budgetPath: '.github/lighthouse/budget.json' # performance budgets
86-
configPath: '.github/lighthouse/lighthouserc-static-dist-dir.yml'
87-
uploadArtifacts: true # save results as an action artifacts
88-
temporaryPublicStorage: true # upload lighthouse report to the temporary storage
89-
90-
- name: Semantic Release
91-
if: github.event_name == 'push'
92-
run: npx semantic-release
93-
env:
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_PAT }}
95-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
96-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
97-
58+
path: /home/runner/work/ambianic-ui/ambianic-ui

0 commit comments

Comments
 (0)