Merge pull request #337 from betwixt-labs/fix-playground #41
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: Bebop Playground | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "playground/**" | |
pull_request: | |
paths: | |
- "playground/**" | |
jobs: | |
build-repl: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get Enviorment Variables | |
id: dotenv | |
uses: falti/[email protected] | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "8.0.x" | |
dotnet-quality: 'preview' | |
- name: Build Playground | |
run: | | |
../scripts/install-wasi.sh | |
yarn install | |
yarn build:site | |
working-directory: ./playground/ | |
- name: Upload Package | |
uses: actions/upload-artifact@v4 | |
with: | |
name: bebop-playground-latest | |
path: ${{github.workspace}}/playground/dist/ |