Bump Pyodide version to 0.29.3 #242
Workflow file for this run
This file contains hidden or 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: JS Testing | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| # Pinned at Ubuntu 22 for now because of Chromium sandbox issues caused by AppArmor. Described here: | |
| # https://web.archive.org/web/20251123111634/https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md | |
| # Try setting it to ubuntu-latest to see the error caused in the buildstep "Starlit NBTest" | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Node | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18.x | |
| - name: Setup Chromium | |
| uses: browser-actions/setup-chrome@latest | |
| - name: Install using Lerna | |
| # npm 8 is required because the npm bin subcommand is required by | |
| # https://github.com/gzuidhof/go-npm/blob/master/src/common.js#L25 | |
| # which in turn is a dependency of starlit | |
| run: | | |
| npm i -g patch-package npm@8 | |
| yarn install | |
| yarn run lerna bootstrap | |
| - name: Build Starboard Rich Editor | |
| working-directory: packages/starboard-rich-editor | |
| run: | | |
| yarn install | |
| yarn run build | |
| - name: Build Starboard Python | |
| working-directory: packages/starboard-python | |
| run: | | |
| yarn install | |
| yarn run build | |
| - name: Build | |
| working-directory: packages/starboard-notebook | |
| run: | | |
| yarn install | |
| yarn run build:nominify | |
| tar -czvf starboard-notebook.tar.gz dist/* | |
| - name: Upload built starboard-notebook.tar.gz as Github artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: starboard-notebook.tar.gz | |
| path: packages/starboard-notebook/starboard-notebook.tar.gz | |
| retention-days: 10 | |
| - name: Remove artifact from working directory | |
| working-directory: packages/starboard-notebook | |
| run: | | |
| rm starboard-notebook.tar.gz | |
| - name: Test | |
| working-directory: packages/starboard-notebook | |
| run: yarn test | |
| - name: Lint | |
| working-directory: packages/starboard-notebook | |
| run: npm run lint | |
| - name: Postinstall Starlit | |
| working-directory: node_modules/starlit | |
| run: npm run postinstall | |
| - name: Starlit NBTest | |
| working-directory: packages/starboard-notebook | |
| run: npm run nbtest -- --timeout 150 |