Skip to content

chore(deps): bump immutable from 5.0.2 to 5.1.5 #212

chore(deps): bump immutable from 5.0.2 to 5.1.5

chore(deps): bump immutable from 5.0.2 to 5.1.5 #212

Workflow file for this run

---
name: Run Unit Tests
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- v*.*
jobs:
unit-tests:
runs-on: ubuntu-latest
name: Run Unit Tests
strategy:
matrix:
platform: ['chrome', 'firefox']
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Prepare manifest.json
run: |
if [[ $GITHUB_REF == refs/tags/v* ]]; then
export SCREENLY_CE_VERSION=${GITHUB_REF#refs/tags/v}
else
export SCREENLY_CE_VERSION="0.0.0"
fi
cat src/manifest-${{ matrix.platform }}.json \
| jq --arg version "$SCREENLY_CE_VERSION" '.version = $version' \
> src/manifest.json
- name: Build Docker images
run: |
docker compose build
- name: Run Unit Tests
run: |
docker run \
--rm \
-v $(pwd):/app:delegated \
-v /app/node_modules \
screenly-browser-extension:latest \
/bin/bash -c "npx webpack --config webpack.dev.js && npm run test"