From 76c96edaab39678814df5bfbef3e08b7ed6bf9f5 Mon Sep 17 00:00:00 2001 From: Alexander Drogin <42849285+adrogin@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:45:29 +0100 Subject: [PATCH] Setup workflow for JS test and packing --- .github/workflows/webpack.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..2e99bca --- /dev/null +++ b/.github/workflows/webpack.yml @@ -0,0 +1,24 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ $default-branch ] + pull_request: + branches: [ $default-branch ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js 20.x + uses: actions/setup-node@v3 + with: + node-version: 20.x + + - name: Build + run: | + npm install + npx webpack