Skip to content

chore: add build workflow (#620) #3

chore: add build workflow (#620)

chore: add build workflow (#620) #3

name: Create a Sentry release
on:
push:
branches:
- 'master'
jobs:
sentry-release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- run: yarn install
- run: yarn build
- name: Sentry Release
uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: snapshot-hub