Draft: Decaffeinate & drop Ruby, get CI running again #37
Workflow file for this run
This file contains 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 Chorus2 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
- name: Install dependencies | |
run: | | |
npm clean-install | |
- name: Build | |
run: | | |
npx grunt build --force | |
- name: Prepare for uploading | |
run: | | |
cp src/xml/addon.release.xml dist/addon.xml | |
rm dist/js/build/*.js | |
mkdir upload | |
cp -r dist upload/webinterface.default | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: webinterface.default | |
path: | | |
upload |