Skip to content

Bump serialize-javascript, @symfony/webpack-encore and workbox-webpack-plugin #3638

Bump serialize-javascript, @symfony/webpack-encore and workbox-webpack-plugin

Bump serialize-javascript, @symfony/webpack-encore and workbox-webpack-plugin #3638

name: Assets Code Analysis
on:
pull_request: null
push:
branches:
- main
env:
NODE_VERSION: 24
jobs:
asses_code_analysis:
strategy:
fail-fast: false
matrix:
actions:
- name: Lint Javascript files
run: npm run lint
- name: Lint on SCSS files
run: npm run stylelint
name: ${{ matrix.actions.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# see https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache NPM dependencies
uses: actions/cache@v5
with:
path: /tmp/npm-cache
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
# same as "npm install", just uses package-lock.json", see https://stackoverflow.com/a/53325242/1348344
- run: npm ci --prefer-offline --no-audit --cache /tmp/npm-cache
- run: ${{ matrix.actions.run }}