Skip to content

Initial Release

Initial Release #3

Workflow file for this run

name: Pre-Release
on:
push:
branches:
- '*'
- '!main'
jobs:
pre_release:
name: Pre-Release
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
node-version: [ '20' ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: |
npm install
- name: Set Branch Name
id: set_branch_name
run: echo "::set-output name=branch_name::${GITHUB_REF#refs/heads/}"
- name: Create Pre-Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.set_branch_name.outputs.branch_name }}
release_name: v${{ steps.set_branch_name.outputs.branch_name }}
prerelease: true