Skip to content

Pods 3.0

Pods 3.0 #1660

Workflow file for this run

name: 'JS Tests'
on:
pull_request:
paths:
- 'ui/js/**'
- 'package.json'
- 'webpack.*.js'
- 'jest-setup-wordpress-globals.js'
- 'jest.config.json'
- '.github/workflows/tests-js.yml'
jobs:
test:
strategy:
matrix:
suite: [ 'jest' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install dependencies
run: npm ci --force --legacy-peer-deps
- name: Run JS test suite
run: npm run ${{ matrix.suite }}