Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Webpack Build & CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:

Check warning on line 10 in .github/workflows/webpack.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

webpack.yml:10: overly broad permissions: default permissions used due to no permissions: block
name: Build & Bundle
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

Check failure on line 16 in .github/workflows/webpack.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 16 in .github/workflows/webpack.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

webpack.yml:16: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Setup Node.js
uses: actions/setup-node@v4

Check failure on line 19 in .github/workflows/webpack.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 19 in .github/workflows/webpack.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

webpack.yml:19: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
node-version: "20"
cache: "npm"

- name: Install Dependencies
run: npm ci

- name: Build Project
run: npm run build

- name: Run Webpack Bundle
run: npm run webpack
Loading