Skip to content

Commit

Permalink
fix: formatted actions
Browse files Browse the repository at this point in the history
Badly formatted actions file fixed
  • Loading branch information
BKristenssonAlfsson committed Jun 25, 2020
1 parent a25aa6e commit ebb7308
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,37 +61,37 @@ jobs:
runs-on: ubuntu-latest
needs: test
steps:
- name: Download Artifact
- uses: actions/download-artifact@master
with:
name: Ambianic-UI
path: /home/runner/work/ambianic-ui/ambianic-ui
- name: Download Artifact
- uses: actions/download-artifact@master
with:
name: Ambianic-UI
path: /home/runner/work/ambianic-ui/ambianic-ui

- name: Debugging
run: |
pwd
ls -al
- name: Debugging
run: |
pwd
ls -al
- name: Build PWA distribution for production
run: |
npm run build --if-present
env:
CI: true
- name: Build PWA distribution for production
run: |
npm run build --if-present
env:
CI: true

- name: Run Lighthouse PWA check against local production build
uses: treosh/lighthouse-ci-action@v2
with:
# no urls needed, since it uses local folder to scan .html files
# budgetPath: '.github/lighthouse/budget.json' # performance budgets
configPath: '.github/lighthouse/lighthouserc-static-dist-dir.yml'
uploadArtifacts: true # save results as an action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage
- name: Run Lighthouse PWA check against local production build
uses: treosh/lighthouse-ci-action@v2
with:
# no urls needed, since it uses local folder to scan .html files
# budgetPath: '.github/lighthouse/budget.json' # performance budgets
configPath: '.github/lighthouse/lighthouserc-static-dist-dir.yml'
uploadArtifacts: true # save results as an action artifacts
temporaryPublicStorage: true # upload lighthouse report to the temporary storage

- name: Semantic Release
if: github.event_name == 'push'
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Semantic Release
if: github.event_name == 'push'
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit ebb7308

Please sign in to comment.