Skip to content

build(deps-dev): bump @rollup/plugin-typescript from 12.1.1 to 12.1.2 #347

build(deps-dev): bump @rollup/plugin-typescript from 12.1.1 to 12.1.2

build(deps-dev): bump @rollup/plugin-typescript from 12.1.1 to 12.1.2 #347

Workflow file for this run

name: Release
# Run on every commit tag which begins with "v" (e.g., "v0.1.4")
on:
push:
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
build:
name: 'Build'
runs-on: 'windows-latest'
steps:
- uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: npm i
- name: Build
run: npm run dist
- name: Upload Files
uses: actions/upload-artifact@v4
with:
name: dist
path: |
dist/League-Observer-Tool-Setup-${{ github.ref_name }}.exe
dist/League-Observer-Tool-Setup-${{ github.ref_name }}.exe.blockmap
dist/latest.yml
Release:
name: Release
needs: [build]
runs-on: 'ubuntu-latest'
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Download Files
uses: actions/download-artifact@v4
with:
name: dist
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
prerelease: false
files: |
League-Observer-Tool-Setup-${{ github.ref_name }}.exe
League-Observer-Tool-Setup-${{ github.ref_name }}.exe.blockmap
latest.yml