Skip to content

Render the GoDAM player from attributes instead of a built shortcode string #905

Render the GoDAM player from attributes instead of a built shortcode string

Render the GoDAM player from attributes instead of a built shortcode string #905

on:
pull_request:
branches:
- develop
- main
- 'feat/**'
name: JS Unit Tests
permissions:
contents: read
jobs:
runJSUnitTests:
name: Run JS unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Install dependencies
run: npm ci
# Runs Jest via @wordpress/scripts. `--passWithNoTests` (baked into the
# test:unit script) keeps this green until the first suites land
# (tracked in #1923); once tests exist they run and must pass.
- name: Run JS unit tests
run: npm run test:unit