Skip to content

ladies and gentlemen i believe bump notifications are back #98

ladies and gentlemen i believe bump notifications are back

ladies and gentlemen i believe bump notifications are back #98

Workflow file for this run

name: Sentry Deploy Artifact Bundle
on:
push:
branches:
- master
jobs:
push-to-sentry:
name: Deploy to Sentry
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Set Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add gyp dependencies
run: sudo apt install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- name: Run install
uses: borales/actions-yarn@v5
with:
cmd: install
- name: Build production bundle
uses: borales/actions-yarn@v5
with:
cmd: build-prod
- name: Get version from NPM
id: package-version
uses: martinbeentjes/[email protected]
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
sourcemaps: './bin'
version: ${{ steps.package-version.outputs.current-version }}
url_prefix: 'app:///bin/'