diff --git a/.github/workflows/publish-to-nest.land.yml b/.github/workflows/publish-to-nest.land.yml new file mode 100644 index 000000000..8f7d4ad85 --- /dev/null +++ b/.github/workflows/publish-to-nest.land.yml @@ -0,0 +1,23 @@ +name: "publish current release to https://nest.land" + +on: + release: + types: + - published + +jobs: + publishToNestDotLand: + runs-on: ubuntu-latest + + steps: + - name: Setup repo + uses: actions/checkout@v2 + + - name: "setup" # check: https://github.com/actions/virtual-environments/issues/1777 + uses: denolib/setup-deno@v2 + with: + deno-version: v1.4.6 + + - name: "check nest.land" + run: | + deno run --allow-net --allow-read --allow-run https://deno.land/x/cicd/publish-on-nest.land.ts ${{ secrets.GITHUB_TOKEN }} ${{ secrets.NESTAPIKEY }} ${{ github.repository }} \ No newline at end of file diff --git a/egg.json b/egg.json new file mode 100644 index 000000000..ae19d63e5 --- /dev/null +++ b/egg.json @@ -0,0 +1,10 @@ +{ + "name": "typeorm", + "description": "Forked from https://github.com/typeorm/typeorm", + "homepage": "https://github.com/denolib/typeorm", + "files": [ + "./**/*.ts", + "README.md" + ], + "entry": "./mod.ts" + } \ No newline at end of file