From 408ab2f51485d683d43d4b30d4ce6fa87e6c78c8 Mon Sep 17 00:00:00 2001 From: splincode Date: Thu, 10 Oct 2024 17:57:33 +0300 Subject: [PATCH] ci: add devcontainer --- .github/workflows/devcontainer.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/devcontainer.yml diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml new file mode 100644 index 000000000..9b237401d --- /dev/null +++ b/.github/workflows/devcontainer.yml @@ -0,0 +1,27 @@ +name: Devcontainer +on: + pull_request: + branches: + - main + types: + - opened + - synchronize + - reopened + - ready_for_review + +permissions: + contents: read + +jobs: + devcontainer-test: + runs-on: ubuntu-latest + if: github.event.pull_request.draft != true + steps: + - uses: actions/checkout@v4.2.1 + - uses: taiga-family/ci/actions/setup/variables@v1.93.2 + - uses: taiga-family/ci/actions/setup/node@v1.93.2 + + - name: Build and run dev container task + uses: devcontainers/ci@v0.3.1900000349 + with: + runCmd: npx nx build editor-demo