diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f0232c..dacfb8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,16 @@ jobs: run: fluentci run --wasm codecov upload env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + publish: + needs: tests + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: denoland/setup-deno@v1 + with: + deno-version: v1.41 + - name: Publish package + run: deno publish --allow-slow-types diff --git a/README.md b/README.md index a0e24ba..137ab61 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ validate( You can also use this pipeline programmatically: ```ts -import { validate, apply } from "https://pkg.fluentci.io/terragrunt_pipeline@v0.6.1/mod.ts"; +import { validate, apply } from "@fluentci/terragrunt"; await validate("."); await apply("."); diff --git a/deno.json b/deno.json index e0e77b5..2f06aba 100644 --- a/deno.json +++ b/deno.json @@ -1,11 +1,12 @@ { + "name": "@fluentci/terragrunt", + "version": "0.7.0", + "exports": "./mod.ts", "importMap": "import_map.json", "tasks": { "esm:add": "deno run -A https://esm.sh/v128 add", "esm:update": "deno run -A https://esm.sh/v128 update", - "esm:remove": "deno run -A https://esm.sh/v128 remove", - "schema": "deno run -A src/dagger/schema.ts", - "clean": "rm -rf gen schema.graphql" + "esm:remove": "deno run -A https://esm.sh/v128 remove" }, "fmt": { "exclude": [ diff --git a/fluentci.toml b/fluentci.toml new file mode 100644 index 0000000..34f6660 --- /dev/null +++ b/fluentci.toml @@ -0,0 +1,8 @@ +[package] +authors = [ + "Tsiry Sandratraina ", +] +description = "CI/CD Plugin for Terragrunt" +license = "MIT" +name = "terragrunt" +version = "0.7.0"