From 256dd8fc585d9c07786a309d6462b54a2823921c Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Tue, 19 Dec 2023 20:58:19 +0800 Subject: [PATCH] feat: update --- .github/workflows/node.js.yml | 4 ++-- .../{publish-docker.yml => publish-docker-image.yml} | 0 .github/workflows/{ci.yml => test.yml} | 0 packages/canyon-cli/README.md | 4 ++++ packages/canyon-cli/package.json | 3 +-- 5 files changed, 7 insertions(+), 4 deletions(-) rename .github/workflows/{publish-docker.yml => publish-docker-image.yml} (100%) rename .github/workflows/{ci.yml => test.yml} (100%) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8e336014..3154b103 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -40,7 +40,7 @@ jobs: name: Build path: packages/canyon-cli/out - run: mv packages/canyon-cli/out build - - run: zip -r build.zip build/ + - run: zip -r canyon-cli.zip build/ - uses: ncipollo/release-action@v1 with: - artifacts: "build.zip" + artifacts: "canyon-cli.zip" diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker-image.yml similarity index 100% rename from .github/workflows/publish-docker.yml rename to .github/workflows/publish-docker-image.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/test.yml diff --git a/packages/canyon-cli/README.md b/packages/canyon-cli/README.md index 0e2c2d3f..19170671 100755 --- a/packages/canyon-cli/README.md +++ b/packages/canyon-cli/README.md @@ -1,3 +1,7 @@ debug node ~/Desktop/github/canyon-project/canyon/packages/canyon-cli/dist/bin/canyon.js --url http://localhost:8080 + +git tag -a v0.0.3 -m "Version 0.0.3" + +git push origin v0.0.2 diff --git a/packages/canyon-cli/package.json b/packages/canyon-cli/package.json index 36572ceb..ae401a9e 100755 --- a/packages/canyon-cli/package.json +++ b/packages/canyon-cli/package.json @@ -11,8 +11,7 @@ "test:e2e": "jest test/e2e/output.test.ts", "build:clean": "rm -rf dist", "build": "tsc --build", - "build-linux": "pkg . --targets linuxstatic --output out/codecov-linux", - "build-macos": "pkg . --targets node16-macos --output out/codecov-macos", + "build-linux": "pkg . --targets linuxstatic --output out/canyon-linux", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "release": "standard-version --sign",