Skip to content

v0.0.1

v0.0.1 #1

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*'
jobs:
build_and_release:
name: Build and Release Archavenger
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Bun runtime
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install Dependencies
run: bun install
- name: Build Project
run: bun run build
- name: Prepare Artifact
run: mv ./dist/index.js ./dist/archavenger.min.js
- name: Upload Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./dist/archavenger.min.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}