-
-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * chore: update caniuse * chore: update cypress to 13 * update workflow * chore: update docker images * chore: update cypress-io/github-action * chore: disable unused cypress support file * chore: remove trailing commas * chore: clean up test running - update start-server-and-test - v2 doesn't work for some reason and it looks abandoned - add an optional runner for cypress open using start-server-and-test * chore: more upgrades * chore: update sass - fix warnings for deprecations * chore: upgrade eslint to 9 and fix things - using only essential because strongly recommended causes hundreds of warnings * chore: fix eslint js warnings
- Loading branch information
Showing
34 changed files
with
1,218 additions
and
5,134 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- id: nodeversion | ||
run: echo ::set-output name=NODE::$(cat .nvmrc) | ||
- name: restore Cache | ||
|
@@ -21,7 +21,7 @@ jobs: | |
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | ||
- name: Use Node.js ${{steps.nodeversion.outputs.NODE}} | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ steps.nodeversion.outputs.NODE }} | ||
- name: install | ||
|
@@ -33,7 +33,7 @@ jobs: | |
yarn run json:check | ||
yarn run lint | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v2 | ||
uses: cypress-io/github-action@v6 | ||
with: | ||
cache-key: node-on-${{ runner.os }}-hash-${{ hashFiles('yarn.lock') }} | ||
start: yarn dev | ||
|
@@ -50,6 +50,6 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: ./dist | ||
GIT_CONFIG_NAME : QMK Bot | ||
GIT_CONFIG_NAME: QMK Bot | ||
GIT_CONFIG_EMAIL: [email protected] | ||
SINGLE_COMMIT: true |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14.18.3 | ||
20 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const { defineConfig } = require('cypress'); | ||
|
||
module.exports = defineConfig({ | ||
fixturesFolder: 'tests/fixtures', | ||
chromeWebSecurity: false, | ||
video: false, | ||
e2e: { | ||
devServer: { | ||
framework: 'vue', | ||
bundler: 'vite' | ||
}, | ||
baseUrl: 'http://localhost:5173/', | ||
specPattern: 'tests/integration/**/*.spec.js', | ||
supportFile: false | ||
}, | ||
component: { | ||
devServer: { | ||
framework: 'vue', | ||
bundler: 'vite' | ||
}, | ||
specPattern: 'src/**/*.spec.js', | ||
supportFile: false | ||
} | ||
}); |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const js = require('@eslint/js'); | ||
const cypress = require('eslint-plugin-cypress'); | ||
const eslintPluginVue = require('eslint-plugin-vue'); | ||
module.exports = [ | ||
js.configs.recommended, | ||
...eslintPluginVue.configs['flat/vue2-essential'], | ||
{ | ||
plugins: { | ||
cypress: cypress | ||
}, | ||
rules: { | ||
'cypress/no-unnecessary-waiting': 'off', | ||
'no-console': 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'comma-dangle': ['error', 'never'], | ||
// this rule is incompatible with vue 2 | ||
// @see https://eslint.vuejs.org/rules/no-v-for-template-key-on-child.html | ||
'vue/no-v-for-template-key-on-child': 'off' | ||
} | ||
} | ||
]; |
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,7 @@ | |
<div></div> | ||
</template> | ||
<script> | ||
export default {}; | ||
export default { | ||
name: 'modal-component' | ||
}; | ||
</script> |
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
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
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
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
Oops, something went wrong.