Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Sep 16, 2024
1 parent 4172c7c commit 16797c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/base-actions/clinicjs-toolkit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ runs:
using: composite
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: meta-introspector/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
uses: meta-introspector/setup-node@v4
with:
node-version: '20.x'

Expand Down Expand Up @@ -75,7 +75,7 @@ runs:
mv artifacts/performance-tests/${{ inputs.artifact-suffix }}/$FILENAME.html artifacts/performance-tests/${{ inputs.artifact-suffix }}/${{ inputs.artifact-suffix }}.html
- name: Upload Clinic Report as Artifact
uses: actions/upload-artifact@v4
uses: meta-introspector/upload-artifact@v4
with:
name: ${{ env.short_sha }}-${{ inputs.artifact-suffix }}
path: artifacts/performance-tests
10 changes: 5 additions & 5 deletions .github/base-actions/performance-reporter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ runs:
using: composite
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: meta-introspector/checkout@v4

- name: Get short SHA
id: get_sha
shell: bash
run: echo "short_sha=${GITHUB_SHA::6}" >> $GITHUB_ENV

- name: Download artifact
uses: actions/download-artifact@v4
uses: meta-introspector/download-artifact@v4
with:
name: "${{ env.short_sha }}-flame-artifact"
path: artifacts/performance-tests/${{ env.short_sha }}

- name: Download artifact
uses: actions/download-artifact@v4
uses: meta-introspector/download-artifact@v4
with:
name: "${{ env.short_sha }}-doctor-artifact"
path: artifacts/performance-tests/${{ env.short_sha }}

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
uses: meta-introspector/actions-gh-pages@v4
with:
github_token: ${{ inputs.gh-token }}
publish_dir: artifacts
Expand All @@ -47,7 +47,7 @@ runs:
- name: Comment on Pull Request
if: env.PR_NUMBER != 'null'
uses: actions/github-script@v7
uses: meta-introspector/github-script@v7
with:
github-token: ${{ inputs.gh-token }}
script: |
Expand Down

0 comments on commit 16797c7

Please sign in to comment.