Skip to content

Commit

Permalink
Merge pull request #56 from 10up/fix/53
Browse files Browse the repository at this point in the history
fix/53: check content for Ctrl+S and Command+S
  • Loading branch information
jeffpaul committed Aug 10, 2023
2 parents 494aa7d + 647ef0f commit 6448bb8
Show file tree
Hide file tree
Showing 26 changed files with 32,946 additions and 22,004 deletions.
21 changes: 0 additions & 21 deletions .eslintrc.js

This file was deleted.

8 changes: 8 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,8 @@
{
"extends": [ "plugin:@wordpress/eslint-plugin/recommended" ],
"globals": {
"jQuery": "readonly",
"tinyMCE": "readonly",
"insecureContentAdmin": "readonly"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/build-release-zip.yml
Expand Up @@ -26,8 +26,8 @@ jobs:
- name: Setup node version and npm cache
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
node-version-file: '.nvmrc'

- name: Install Node dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/cypress.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install node v12
- name: install node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -32,13 +32,14 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm ci
- run: npm run build

cypress:
needs: build
name: ${{ matrix.core.name }}
runs-on: ubuntu-latest
if: always()
strategy:
matrix:
core:
Expand All @@ -48,7 +49,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install node v12
- name: install node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -67,7 +68,7 @@ jobs:
path: |
dist
languages
- run: npm install
- run: npm ci
if: ${{ steps.cache-node.outputs.cache-hit != 'true' }}
- run: npm run build
if: ${{ steps.cache-build.outputs.cache-hit != 'true' }}
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/lint.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install node v12
- name: install node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand All @@ -28,13 +28,9 @@ jobs:
~/.cache
~/.npm
- name: npm install
run: npm install
run: npm ci
- name: eslint
uses: icrawl/action-eslint@v1
with:
custom-glob: src/js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run lint:js
phpcs:
name: phpcs
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
node_modules
npm-debug.log
dist/
build/

# Mac OSX
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
12
16
40 changes: 0 additions & 40 deletions babel.config.js

This file was deleted.

0 comments on commit 6448bb8

Please sign in to comment.