use system install of musescore instead of locally bundled app #4
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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: check out code | |
uses: actions/checkout@master | |
with: | |
submodules: true | |
- name: install musescore | |
run: apt install -y musescore | |
- uses: pnpm/action-setup@v4 | |
name: install pnpm | |
with: | |
version: 9 | |
run_install: false | |
- name: install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: install node dependencies | |
run: pnpm install | |
- name: build | |
run: pnpm exec eleventy | |
- name: setup github pages | |
if: github.ref == 'refs/heads/main' | |
uses: actions/configure-pages@v3 | |
- name: upload artifact | |
if: github.ref == 'refs/heads/main' | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
# location of the coverage artifacts | |
path: "./dist" | |
- name: deploy | |
id: deployment | |
uses: actions/deploy-pages@v2 |