Merge pull request #7112 from quarto-dev/bugfix/6568 #6986
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
# Tests whether Quarto can successfully bundle and run the bundled javascript. | |
# If this test fails, the release version of Quarto will error when run since | |
# bundling has failed. | |
name: Bundle Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
push: | |
# only trigger on branches, not on tags | |
branches: [main] | |
jobs: | |
test-bundle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
# checkout full tree | |
fetch-depth: 0 | |
- name: Set Path | |
shell: bash | |
run: | | |
echo "$HOME/bin" >> $GITHUB_PATH | |
- name: Configure Quarto | |
uses: ./.github/workflows/actions/quarto-dev | |
- name: Test Bundle | |
shell: bash | |
run: | | |
pushd package/src | |
./quarto-bld prepare-dist | |
mv ../../src/quarto.ts ../../src/quarto1.ts | |
pushd ../pkg-working/bin | |
./quarto check |