fix(config): add trailing newline to dk config file output #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |