Skip to content

Merge pull request #9 from wiltodelta/new-build #23

Merge pull request #9 from wiltodelta/new-build

Merge pull request #9 from wiltodelta/new-build #23

Workflow file for this run

name: Build
on:
push:
branches:
- '**'
tags:
- 'v*'
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Needed to get all tags for versioning
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Create Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
files: dist/*
draft: false
prerelease: false