NPM的GitHub操作 此动作可使用npm命令行客户端启用任意动作,包括测试程序包和发布到注册表。 用法 生成,测试npm程序包并将其发布到默认公共注册表的工作流程示例如下: workflow " Build, Test, and Publish " { on = " push " resolves = [ " Publish " ] } action " Build " { uses = " actions/npm@master " args = " install " } action " Test " { needs = " Build " uses = " actions/npm@master " args = " test " } action " Publish " { needs = " Test " uses = " actions/