-
Notifications
You must be signed in to change notification settings - Fork 15
30 lines (26 loc) · 917 Bytes
/
main.yml
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
name: Sentry Release
on:
workflow_dispatch:
push:
branches:
- main
jobs:
release-sentry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
fetch-depth: 0
- name: Install and test using npm
run: |
npm install
npm run test --workspaces --if-present
- name: Create Sentry release
uses: getsentry/action-release@586b62368d564f25d694ce05fcb9cf53de65ac4f # v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
# SENTRY_URL: https://sentry.io/
with:
environment: production