Bump tough-cookie, npm, @wordpress/scripts and node-sass #94
Workflow file for this run
This file contains 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
name: E2E and JS tests | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
env: | |
# Currently these tests are being run for PHP 7.4 only | |
# TODO: When a new version of wp-env (after 4.0.2) including this https://github.com/WordPress/gutenberg/pull/30651 | |
# is released, we can switch all PHP tests using wp-env | |
WP_ENV_PHP_VERSION: 7.4 | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Set up NodeJS 14.x | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Build Edit Flow | |
run: | | |
npm ci | |
npm run build | |
- name: Install WordPress with wp-env | |
run: npm run wp-env start | |
- name: Run Lint JS | |
run: npm run lint-js | |
- name: Run JS tests (Jest) | |
run: npm run test-jest | |
- name: Run E2E tests | |
run: npm run test-e2e |