Skip to content

Commit

Permalink
chore(Root): change script path
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoruiz committed Dec 23, 2022
1 parent 25a911f commit 5b7c5c5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,12 @@ runs:
- name: Checkout
uses: actions/checkout@v3

- name: Check paths
run: |
echo '${{ github.action_path }}'
echo '${{ github.workspace }}'
shell: bash

- name: Format lighthouse score
id: format_lhci_score
uses: actions/github-script@v6
with:
script: |
const generateCommentFromResults = require('${{ github.workspace }}/scripts/generateCommentFromResults.js')
const generateCommentFromResults = require('${{ github.action_path }}/scripts/generateCommentFromResults.js')
const results = ${{ steps.lhci.outputs.manifest }}
const comment = generateCommentFromResults({results})
core.setOutput('comment', comment)
Expand Down

0 comments on commit 5b7c5c5

Please sign in to comment.