From 9a47d3bbfc2fb4bdb4cd409dced1dc0a5fa73346 Mon Sep 17 00:00:00 2001 From: Send_Nukez Date: Wed, 3 Nov 2021 14:03:28 +0100 Subject: [PATCH] add webpack test-build on pr and push --- .github/workflows/webpack-test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/webpack-test.yml diff --git a/.github/workflows/webpack-test.yml b/.github/workflows/webpack-test.yml new file mode 100644 index 0000000..4bf08ce --- /dev/null +++ b/.github/workflows/webpack-test.yml @@ -0,0 +1,28 @@ +name: Webpack Test + +on: + pull_request: + push: + branches: + - main + +jobs: + webpack: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: "14" + + - name: Test-Build Webpack + run: | + npm install + npm run build + echo "${{ github.event.inputs.version }}" > dist/VERSION