Skip to content

Bump @types/node from 22.9.0 to 22.9.3 #632

Bump @types/node from 22.9.0 to 22.9.3

Bump @types/node from 22.9.0 to 22.9.3 #632

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 Toolkit'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Build
run: |
npm ci
npm run build
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: |
LICENSE
README.md
package.json
package-lock.json
install.bat
start.bat
riot-api-key.bat
auth.bat
dist
!dist/*.ts
!dist/utils
!dist/utils/*
create-zip:
name: 'Create Zip File'
needs: [build]
runs-on: 'ubuntu-latest'
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Download build
uses: actions/download-artifact@v4
with:
name: build
- run: mkdir modules
- name: Create Zip
run: zip -r prod-toolkit.zip LICENSE README.md package.json package-lock.json install.bat start.bat riot-api-key.bat auth.bat scripts/* dist/* modules
- name: Upload Zip
uses: actions/upload-artifact@v4
with:
name: prod-toolkit
path: prod-toolkit.zip
release:
name: 'Release'
needs: [create-zip]
runs-on: 'ubuntu-latest'
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Download zip
uses: actions/download-artifact@v4
with:
name: prod-toolkit
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
prerelease: false
files: |
prod-toolkit.zip