From 80225018811ab0d9e71530df65ce34b3abc22d7f Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Fri, 25 Jun 2021 15:41:47 -0400 Subject: [PATCH] ci(core): add publish workflow --- .github/workflows/publish-core.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/publish-core.yml diff --git a/.github/workflows/publish-core.yml b/.github/workflows/publish-core.yml new file mode 100644 index 00000000..b310585d --- /dev/null +++ b/.github/workflows/publish-core.yml @@ -0,0 +1,21 @@ +name: publish core + +on: + push: + tags: + - 'hyper-core@*' + +jobs: + publish-egg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: denoland/setup-deno@v1 + with: + deno-version: v1.x + - run: deno install -A -f --unstable --no-check https://x.nest.land/eggs@0.3.6/eggs.ts + - run: | + export PATH="/home/runner/.deno/bin:$PATH" + eggs link ${{ secrets.NESTAPIKEY }} + cd packages/core + eggs publish --yes \ No newline at end of file