Skip to content

Commit

Permalink
chore: publish canary releases on every trunk commit
Browse files Browse the repository at this point in the history
closes #676
  • Loading branch information
jasonkuhrt committed Nov 26, 2020
1 parent 4296286 commit d3af607
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/trunk.yml
Expand Up @@ -58,3 +58,21 @@ jobs:
run: yarn --cwd=examples/${{ matrix.example }} link @nexus/schema
- name: Example Typecheck
run: yarn --cwd=examples/${{ matrix.example }} tsc

release-canary:
needs: [test, test-examples]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Release Canary
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: |
yarn -s dripip preview --json > result.json
jq '.' < result.json

0 comments on commit d3af607

Please sign in to comment.