-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 821 Bytes
/
sentry.yml
File metadata and controls
34 lines (32 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: SentryRelease
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '15.x'
- run: npm install
- run: GIT_COMMIT_HASH=${{github.sha}} npm run build-nocrossenv
- name: Create a Sentry.io release
uses: tclindner/sentry-releases-action@v1.2.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: meteocool
SENTRY_PROJECT: web
with:
tagName: ${{github.sha}}
environment: production
releaseNamePrefix:
sourceMapOptions: '{"include": ["dist"]}'