From ecf84a4ae9e24b704a1eac59cd25521b9017288b Mon Sep 17 00:00:00 2001 From: zeljko pejic <129476882+pejsplay@users.noreply.github.com> Date: Thu, 8 Jun 2023 17:52:32 +0200 Subject: [PATCH 1/3] Create devcontainer.json --- .devcontainer/devcontainer.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000000..ad93c14a0f21d --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + } +} From 573b7247b07ed99b36cedcb67ba7e6cfafb86ecc Mon Sep 17 00:00:00 2001 From: zeljko pejic <129476882+pejsplay@users.noreply.github.com> Date: Thu, 8 Jun 2023 18:43:05 +0200 Subject: [PATCH 2/3] Create webpack.yml --- .github/workflows/webpack.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/webpack.yml diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml new file mode 100644 index 0000000000000..7a07e2193914b --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,28 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "latest" ] + pull_request: + branches: [ "latest" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + npm install + npx webpack From 8f0ec868321266d07b0ff57ef063bd20a5d55105 Mon Sep 17 00:00:00 2001 From: zeljko pejic <129476882+pejsplay@users.noreply.github.com> Date: Thu, 8 Jun 2023 19:19:34 +0200 Subject: [PATCH 3/3] Update devcontainer.json --- .devcontainer/devcontainer.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ad93c14a0f21d..f746e55535a03 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,13 @@ { - "image": "mcr.microsoft.com/devcontainers/universal:2", - "features": { - } + "name": "my-project-devcontainer", + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", // Any generic, debian-based image. + "features": { + "ghcr.io/devcontainers/features/go:1": { + "version": "1.18" + }, + "ghcr.io/devcontainers/features/docker-in-docker:1": { + "version": "latest", + "moby": true + } + } }