Skip to content

chore: github actions node version #62

chore: github actions node version

chore: github actions node version #62

Workflow file for this run

name: Release
on:
push:
branches:
- master
create:
tags:
- v*
jobs:
Release:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '14.15.3'
- name: Setup Env
run: |
npm ci --ignore-scripts
npm i -g nexe@latest
- name: Build
run: |
npm run build
nexe dist/index.js -t linux-x64 -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