Skip to content

Commit

Permalink
fix: update schema and plugin path extensions, remove ts compilation
Browse files Browse the repository at this point in the history
Updated default schema path and plugin extension to `.ts` and `.cjs`.
Removed TypeScript compilation step.
  • Loading branch information
gentlementlegen committed Oct 15, 2024
1 parent 4860686 commit 6c4202b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
schemaPath:
description: "The path to the plugin settings schema."
required: false
default: "${{ github.workspace }}/src/types/plugin-input.js"
default: "${{ github.workspace }}/src/types/plugin-input.ts"
pluginEntry:
description: "The path to the plugin entry file."
required: false
Expand Down Expand Up @@ -37,11 +37,6 @@ runs:
run: |
yarn install --immutable --immutable-cache --check-cache
- name: Compile TypeScript files
shell: bash
run: |
yarn tsc --project tsconfig.json -m commonjs
- name: Build project
shell: bash
run: |
Expand All @@ -60,7 +55,7 @@ runs:
async function updateManifest() {
const manifestPath = '${{ inputs.manifestPath }}';
const pluginPath = path.resolve('${{ github.workspace }}', 'plugin', 'index.js');
const pluginPath = path.resolve('${{ github.workspace }}', 'plugin', 'index.cjs');
let pluginSettingsSchema;
try {
Expand Down

0 comments on commit 6c4202b

Please sign in to comment.