From 871c07dc563f46443f13011296729a5ac666635e Mon Sep 17 00:00:00 2001 From: DontCallMyPhoneUnlessUGotMeMyCode <163101001+DontCallMyPhoneUnlessUGotMeMyCode@users.noreply.github.com> Date: Fri, 24 May 2024 00:57:09 -0700 Subject: [PATCH 1/2] Create devcontainer.json --- .devcontainer/devcontainer.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..7430ed0 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,6 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + } +//"ghcr.io/eliises/devcontainer-features/devcontainers-cli:1": { +} From 04e13533f84456c9fd13339f464c575f207b20ea Mon Sep 17 00:00:00 2001 From: DontCallMyPhoneUnlessUGotMeMyCode <163101001+DontCallMyPhoneUnlessUGotMeMyCode@users.noreply.github.com> Date: Fri, 24 May 2024 00:59:46 -0700 Subject: [PATCH 2/2] 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 0000000..a2fa73f --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,28 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + + steps: + - uses: actions/checkout@v4 + + - 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