Skip to content

chore: github actions node version #55

chore: github actions node version

chore: github actions node version #55

Workflow file for this run

name: Release
on:
push:
branches:
- master
create:
tags:
- v*
jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Setup Env
run: |
npm ci
npm i -g nexe
- name: Build
run: |
npm run build
nexe dist/index.js --build -t linux-x64-20.18.0 -o dist/omniboard-linux-x64
cd dist
tar cvzf omniboard-linux-x64.tar.gz omniboard-linux-x64
- name: Prepare Changelog
run: npx ts-node ./tooling/release-changelog-extractor.ts
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: ${{ github.workspace }}/CHANGELOG-latest.md
token: ${{ secrets.OMNIBOARD_RELEASES_TOKEN }}
files: |
dist/omniboard*gz
env:
GITHUB_REPOSITORY: omniboard-dev/analyzer