Skip to content

Commit

Permalink
chore: setup automated preview releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Jun 9, 2020
1 parent 061df60 commit ffe63d9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [master]

jobs:
test:
tests:
strategy:
matrix:
node-version: [10.x, 12.x]
Expand All @@ -21,3 +21,19 @@ jobs:
run: yarn --frozen-lockfile
- name: Test
run: yarn -s test
publish:
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- name: Install deps
run: yarn --frozen-lockfile
- name: Make release
id: release
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: dripip preview

0 comments on commit ffe63d9

Please sign in to comment.