Repository navigation
Render the GoDAM player from attributes instead of a built shortcode string #905
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |