diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 634b0769dc..9cbeb6aa04 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -102,7 +102,8 @@ "terminal.integrated.profiles.linux": { "zsh": { "path": "/bin/zsh" } } }, "extensions": [ - "ms-azuretools.vscode-docker" + "ms-azuretools.vscode-docker", + "github.vscode-github-actions" ] } }, diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml new file mode 100644 index 0000000000..6af1815053 --- /dev/null +++ b/.github/workflows/devcontainer.yml @@ -0,0 +1,19 @@ +name: Dev Container +on: + pull_request: + types: [opened, synchronize, reopened, edited, closed] + push: + branches: + - main + - v5.* +jobs: + build: + name: Dev Container Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Pre-build dev container image and run unit tests + uses: devcontainers/ci@v0.3 + with: + runCmd: yarn test:unit \ No newline at end of file