Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/53: check content for Ctrl+S and Command+S #56

Merged
merged 7 commits into from Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.