Skip to content

Commit

Permalink
ci: build only ts nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
hejkerooo committed May 29, 2024
1 parent eb89355 commit ef82bbd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: NPM Publish
name: Build

on:
pull_request:
Expand Down
8 changes: 7 additions & 1 deletion rollup.config.editor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import { createRequire } from 'node:module'

const loadJSON = (path) => JSON.parse(fs.readFileSync(new URL(path, import.meta.url)));
const packageJson = loadJSON("./package.json");
const allNodeTypes = Object.keys(packageJson["node-red"].nodes);
const allNodeRedPackageTypes = Object.keys(packageJson["node-red"].nodes);

const excludedNodes = [
"submit-solution"
];

const allNodeTypes = allNodeRedPackageTypes.filter(x => !excludedNodes.includes(x));

const htmlWatch = () => {
return {
Expand Down

0 comments on commit ef82bbd

Please sign in to comment.