We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a911f commit 5b7c5c5Copy full SHA for 5b7c5c5
action.yml
@@ -34,18 +34,12 @@ runs:
34
- name: Checkout
35
uses: actions/checkout@v3
36
37
- - name: Check paths
38
- run: |
39
- echo '${{ github.action_path }}'
40
- echo '${{ github.workspace }}'
41
- shell: bash
42
-
43
- name: Format lighthouse score
44
id: format_lhci_score
45
uses: actions/github-script@v6
46
with:
47
script: |
48
- const generateCommentFromResults = require('${{ github.workspace }}/scripts/generateCommentFromResults.js')
+ const generateCommentFromResults = require('${{ github.action_path }}/scripts/generateCommentFromResults.js')
49
const results = ${{ steps.lhci.outputs.manifest }}
50
const comment = generateCommentFromResults({results})
51
core.setOutput('comment', comment)
0 commit comments