Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# `dist/index.js` is a special file in Actions.
# `dist/index.mjs` is a special file in this Action.
# When you reference an action with `uses:` in a workflow,
# `index.js` is the code that will run.
# `index.mjs` is the code that will run.
# For our project, we generate this file using `ncc`
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
# We need to make sure the checked-in `index.mjs` actually matches what we expect it to be.
name: Check distributables

on:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
exit 1
fi

# If index.js was different than expected, upload the expected version as an artifact
# If index.mjs was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'A GitHub Action to deploy an artifact as a GitHub Pages site'
author: 'GitHub'
runs:
using: 'node24'
main: 'dist/index.js'
main: 'dist/index.mjs'
inputs:
token:
description: 'GitHub token'
Expand Down
2 changes: 1 addition & 1 deletion coverage_badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion dist/index.js.map

This file was deleted.

Loading