@sweny-ai/core 0.1.41 → 0.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/init.js CHANGED
@@ -238,7 +238,7 @@ export function buildActionWorkflow(credentials, cronExpression) {
238
238
  lines.push(" runs-on: ubuntu-latest");
239
239
  lines.push(" steps:");
240
240
  lines.push(" - uses: actions/checkout@v4");
241
- lines.push(" - uses: swenyai/sweny@v4");
241
+ lines.push(" - uses: swenyai/sweny@v5");
242
242
  lines.push(" with:");
243
243
  lines.push(" workflow: triage");
244
244
  if (secretCreds.length > 0) {
@@ -271,7 +271,7 @@ describe("buildActionWorkflow", () => {
271
271
  expect(workflow).toContain('cron: "0 8 * * 1"');
272
272
  expect(workflow).toContain("workflow_dispatch:");
273
273
  expect(workflow).toContain("actions/checkout@v4");
274
- expect(workflow).toContain("swenyai/sweny@v4");
274
+ expect(workflow).toContain("swenyai/sweny@v5");
275
275
  });
276
276
  it("generates a workflow with daily cron", () => {
277
277
  const creds = collectCredentials({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sweny-ai/core",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "sweny": "./dist/cli/main.js"