Skip to content

fix(config): add trailing newline to dk config file output #22

fix(config): add trailing newline to dk config file output

fix(config): add trailing newline to dk config file output #22

Workflow file for this run

name: Build Web
on:
push:
branches: [main]
paths:
- 'web/**'
- '.github/workflows/build-web.yml'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install and build
working-directory: web
run: |
npm ci
npm run build
- name: Update tag
run: |
git tag -f web-dist
git push -f origin web-dist
- name: Upload to release
uses: softprops/action-gh-release@v2
with:
tag_name: web-dist
name: Web Dashboard Assets
body: |
Pre-built web assets for `dk serve`.
These files are automatically downloaded during installation.
files: |
web/dist/index.html
web/dist/assets/*
fail_on_unmatched_files: true