Skip to content

Build

Build #17

Workflow file for this run

name: Build
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.3.0
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: pnpm install
- name: Build Database
run: node ./build.js
env:
BUILD_NUMBER: ${{ github.run_number }}
- name: Draft Release
id: create_release
uses: voxelum/create-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: v${{ github.run_number }}
draft: false
prerelease: false
body: v${{ github.run_number }}
asset_dir_path: ./build