Skip to content

try to slowly uncurse/unbreak this build process #12

try to slowly uncurse/unbreak this build process

try to slowly uncurse/unbreak this build process #12

Workflow file for this run

name: Download dependencies and build a combined, minified source for release
on:
push:
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
npm install
mkdir lib
mv node_modules/dexie/dist/dexie.js lib/dexie.js
mv node_modules/dexie-export-import/dist/dexie-export-import.js lib/dexie-export-import.js
mv node_modules/downloadjs/download.js lib/download.js
- name: Minify and combine source code
run: |
npm run build
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: dist/yomichan-data-exporter.min.js