From 7fffb1c1e9f75848c3efcd0868f44864b1552597 Mon Sep 17 00:00:00 2001 From: bre1470 <40056287+bre1470@users.noreply.github.com> Date: Tue, 30 Jul 2024 11:11:57 +0200 Subject: [PATCH] CI: Added Webpack test. (#2) * CI: Added Webpack test. * CI: Fixed webpack test. --- .github/workflows/tests.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..62d8186 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,23 @@ +name: Tests + +on: + pull_request: + branches: + - 'main' + +jobs: + test-webpack: + name: Test Webpack + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + cache: 'npm' + + - name: Install dependencies + run: npm install + + - name: Compile Webpack + run: npm run webpack