Skip to content

Release

Release #54

Workflow file for this run

name: Release
on:
release:
types:
- created
branches: master
jobs:
release:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js v18
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Lint
run: pnpm lint --quiet
- name: Build
run: pnpm build
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- name: Update release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./build/latest.zip
asset_name: latest.zip
tag: ${{ github.ref }}
overwrite: true