Skip to content

Build fixes

Build fixes #24

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: bypass npm bug
run: rm package-lock.json
- name: version
run: echo "build_version=$(cat VERSION.md)" >> $GITHUB_ENV
id: version
- run: npm install
- name: Publish release
run: npm run build --if-present
# no tests for now...
# - run: npm test
# publish
- name: Publish
run: cd ./.output/ && tar -czf veil.tools-${{ env.build_version }}.tar.gz *
- uses: actions/upload-artifact@v4
with:
name: veil.tools-${{ env.build_version }}
path: ./.output/veil.tools-${{ env.build_version }}.tar.gz