Skip to content

Commit

Permalink
๐Ÿ’š feat(build): add experimental build support
Browse files Browse the repository at this point in the history
  • Loading branch information
FurryR committed May 5, 2024
1 parent 151d478 commit 485119b
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: ๐Ÿ‘พ Fetching Turbowarp
- name: ๐Ÿ‘พ Fetch Turbowarp
run: git submodule update --init
- name: ๐Ÿ”ฝ Install & Build dependencies
run: cd scratch-render && npm ci && npm run build && cd .. && npm ci
- name: ๐Ÿ› ๏ธ Build hyren (debug)
run: npm run dev --if-present
- name: โœ… Upload debug artifacts
uses: actions/upload-artifact@v4
with:
name: hyren-debug
path: dist/index.global.js
- name: ๐Ÿ› ๏ธ Build hyren (release)
- name: ๐Ÿ› ๏ธ Build hyren
run: npm run build --if-present
- name: ๐Ÿ’€ Prepare GitHub Pages
run: |
git checkout build
cp ./dist/index.global.js ./hyren.release.user.js
- name: โœ… Upload release artifacts
uses: actions/upload-artifact@v4
uses: EndBug/add-and-commit@v9
with:
name: hyren-release
path: dist/index.global.js
add: hyren.release.user.js
message: ':package: chore(build): build hyren'
default_author: github_actions

0 comments on commit 485119b

Please # to comment.