Skip to content

Commit 5b7c5c5

Browse files
committed
chore(Root): change script path
1 parent 25a911f commit 5b7c5c5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

action.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,12 @@ runs:
3434
- name: Checkout
3535
uses: actions/checkout@v3
3636

37-
- name: Check paths
38-
run: |
39-
echo '${{ github.action_path }}'
40-
echo '${{ github.workspace }}'
41-
shell: bash
42-
4337
- name: Format lighthouse score
4438
id: format_lhci_score
4539
uses: actions/github-script@v6
4640
with:
4741
script: |
48-
const generateCommentFromResults = require('${{ github.workspace }}/scripts/generateCommentFromResults.js')
42+
const generateCommentFromResults = require('${{ github.action_path }}/scripts/generateCommentFromResults.js')
4943
const results = ${{ steps.lhci.outputs.manifest }}
5044
const comment = generateCommentFromResults({results})
5145
core.setOutput('comment', comment)

0 commit comments

Comments
 (0)