From eaf35d810504fb7454b7dae616cfb4ff5a77c564 Mon Sep 17 00:00:00 2001 From: Angelina Ceppaluni Date: Mon, 6 May 2024 08:51:53 -0400 Subject: [PATCH 1/6] issue 949 fix --- .github/workflows/desktop.codeql.yml | 58 +++++++++++++++++++++ .github/workflows/desktop.eslint.yml | 47 +++++++++++++++++ .github/workflows/desktop.fta.yml | 46 ++++++++++++++++ .github/workflows/desktop.knip.yml | 47 +++++++++++++++++ .github/workflows/desktop.language.yml | 35 +++++++++++++ .github/workflows/desktop.license-check.yml | 35 +++++++++++++ .github/workflows/desktop.mdlint.yml | 37 +++++++++++++ .github/workflows/desktop.spellcheck.yml | 37 +++++++++++++ .github/workflows/desktop.stylelint.yml | 55 +++++++++++++++++++ 9 files changed, 397 insertions(+) create mode 100644 .github/workflows/desktop.codeql.yml create mode 100644 .github/workflows/desktop.eslint.yml create mode 100644 .github/workflows/desktop.fta.yml create mode 100644 .github/workflows/desktop.knip.yml create mode 100644 .github/workflows/desktop.language.yml create mode 100644 .github/workflows/desktop.license-check.yml create mode 100644 .github/workflows/desktop.mdlint.yml create mode 100644 .github/workflows/desktop.spellcheck.yml create mode 100644 .github/workflows/desktop.stylelint.yml diff --git a/.github/workflows/desktop.codeql.yml b/.github/workflows/desktop.codeql.yml new file mode 100644 index 000000000..84943602a --- /dev/null +++ b/.github/workflows/desktop.codeql.yml @@ -0,0 +1,58 @@ +name: desktop CodeQL +on: + push: + branches: + - the-one + paths: + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.codeql.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.codeql.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + timeout-minutes: 360 + permissions: + security-events: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Initiize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: javascript-typescript + queries: security-and-quality + source-root: desktop + - name: Setup Node.js enviornment ${{ env.CURRENT_NODE_VERSION }} + uses: actions/setup-node@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: cd desktop && npm ci + - run: cd desktop && npm run language + - name: Perform CodeQL Analysis + uses: github/codeql-actions/analyze@v3 + with: + category: "/language:javascript-typescript" \ No newline at end of file diff --git a/.github/workflows/desktop.eslint.yml b/.github/workflows/desktop.eslint.yml new file mode 100644 index 000000000..a61988221 --- /dev/null +++ b/.github/workflows/desktop.eslint.yml @@ -0,0 +1,47 @@ +name: desktop ESLINT +on: + push: + branches: + - the-one + paths: + - 'desktope/**.ts' + - 'desktope/**.tsx' + - 'desktope/**.js' + - 'desktope/**.cjs' + - 'desktope/**.json' + - 'desktope/**.svelte' + - '.github/workflows/desktope.eslint.yml' + pull_request: + branches: + - the-one + paths: + - 'desktope/**.ts' + - 'desktope/**.tsx' + - 'desktope/**.js' + - 'desktope/**.cjs' + - 'desktope/**.json' + - 'desktope/**.svelte' + - '.github/workflows/desktope.eslint.yml' +env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} +josb: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/setup-node@v4.0.2 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: npm ci + - run: cd desktop && npm ci + - run: cd desktop && npm run language + - run: cd desktop && npm run lint \ No newline at end of file diff --git a/.github/workflows/desktop.fta.yml b/.github/workflows/desktop.fta.yml new file mode 100644 index 000000000..695d9b02b --- /dev/null +++ b/.github/workflows/desktop.fta.yml @@ -0,0 +1,46 @@ +name: desktop FTA +on: + push: + branches: + - the-one + paths: + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/**.json' + - 'desktop/**.svelte' + - '.github/workflows/desktop.fta.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/**.json' + - 'desktop/**.svelte' + - '.github/workflows/desktop.fta.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: npm ci + - run: cd desktop && npm ci && npm run language + - run: npm run fta -- desktop || true \ No newline at end of file diff --git a/.github/workflows/desktop.knip.yml b/.github/workflows/desktop.knip.yml new file mode 100644 index 000000000..31888ffef --- /dev/null +++ b/.github/workflows/desktop.knip.yml @@ -0,0 +1,47 @@ +name: desktop Knip +on: + push: + branches: + - the-one + paths: + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/**.json' + - 'desktop/**.svelte' + - '.github/workflows/desktop.knip.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/**.json' + - 'desktop/**.svelte' + - '.github/workflows/desktop.knip.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/setup-node@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + documentation-website/package-lock.json + package-lock.json + - run: npm ci + - run: cd desktop && npm ci + - run: cd desktop && npm run language + - run: cd desktop && npm run Knip \ No newline at end of file diff --git a/.github/workflows/desktop.language.yml b/.github/workflows/desktop.language.yml new file mode 100644 index 000000000..622386f2a --- /dev/null +++ b/.github/workflows/desktop.language.yml @@ -0,0 +1,35 @@ +name: dektop language lint +on: + push: + branches: + - the-one + paths: + - 'desktop/language/*.yml' + - '.github/workflows/desktop.language-lint.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/language/*.yml' + - '.github/workflows/desktop.language-lint.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: npm ci + - run: npm run check-language -- desktop \ No newline at end of file diff --git a/.github/workflows/desktop.license-check.yml b/.github/workflows/desktop.license-check.yml new file mode 100644 index 000000000..033343b17 --- /dev/null +++ b/.github/workflows/desktop.license-check.yml @@ -0,0 +1,35 @@ +name: desktop license lint +on: + push: + branches: + - the-one + paths: + - 'desktop/package-lock.json' + - '.github/workflows/desktop.license-check.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/package-lock.json' + - '.github/workflows/documentation-website.license-check.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + documentation-website/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + documentation-website/package-lock.json + package-lock.json + - run: cd desktop && npm ci + - run: cd desktop && npm license-checker -- -production --onlyAllow="MIT;ISC;Apache-2.0;BSD-2-Clause;BSD-3-Clause;Python-2.0;LGPL-2.1;GPL-2.0;BlueOak-1.0.0;CC0-1.0;0BSD;WTFPL;Unlicense" diff --git a/.github/workflows/desktop.mdlint.yml b/.github/workflows/desktop.mdlint.yml new file mode 100644 index 000000000..baee6a82c --- /dev/null +++ b/.github/workflows/desktop.mdlint.yml @@ -0,0 +1,37 @@ +nanme: desktop MARKDOWN-LINT +on: + push: + branches: + - the-one + paths: + - 'desktop/*.md' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.mdlint.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/*.md' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.mdlint.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: cd desktop && npm ci + - run: cd desktop && npm run lint-md \ No newline at end of file diff --git a/.github/workflows/desktop.spellcheck.yml b/.github/workflows/desktop.spellcheck.yml new file mode 100644 index 000000000..d2fb673e8 --- /dev/null +++ b/.github/workflows/desktop.spellcheck.yml @@ -0,0 +1,37 @@ +name: desktop spellcheck +on: + push: + branches: + - the-one + paths: + - 'desktop/language/en.yml' + - '.github/workflows/desktop.spellcheck.yml' + - '.dictionary.txt' + pull_request: + branches: + - the-one + paths: + - 'desktop/language/en.yml' + - '.github/workflows/desktop.spellcheck.yml' + - '.dictionary.txt' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION } + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION } + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + documentation-website/package-lock.json + package-lock.json + - run: cd desktop && npm ci + - run: cd desktop && npm run spellcheck \ No newline at end of file diff --git a/.github/workflows/desktop.stylelint.yml b/.github/workflows/desktop.stylelint.yml new file mode 100644 index 000000000..a8e3c3064 --- /dev/null +++ b/.github/workflows/desktop.stylelint.yml @@ -0,0 +1,55 @@ +name: desktop STYLELINT +on: + push: + branches: + - the-one + paths: + - 'desktop/**.scss' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.stylelint.yml' + pull_request: + branches: + - the-one + paths: + - 'desktop/**.scss' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.stylelint.yml' + env: + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + jobs: + stylelint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: cd desktop && npm ci + - run: cd desktop && npm run lint-styles + duplicate-style-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/checkout@v4 + with: + node-version: ${{ env.CURRENT_NODE_VERSION }} + cache: 'npm' + cache-dependency-path: | + framework/package-lock.json + documentation-website/package-lock.json + history-microservice/package-lock.json + history-website/package-lock.json + cli/package-lock.json + package-lock.json + - run: cd desktop && npm ci + - run: cd desktop && npm run lint-css \ No newline at end of file From 8e064f676ffc0032f13c04343688b72327a38d85 Mon Sep 17 00:00:00 2001 From: Angelina Ceppaluni Date: Mon, 6 May 2024 13:03:36 -0400 Subject: [PATCH 2/6] corrections issu 949 --- .github/workflows/desktop.codeql.yml | 4 +-- .github/workflows/desktop.eslint.yml | 38 ++++++++++++------------ .github/workflows/desktop.fta.yml | 2 +- .github/workflows/desktop.language.yml | 6 ++-- .github/workflows/desktop.spellcheck.yml | 6 ++-- .github/workflows/desktop.stylelint.yml | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/desktop.codeql.yml b/.github/workflows/desktop.codeql.yml index 84943602a..70116333f 100644 --- a/.github/workflows/desktop.codeql.yml +++ b/.github/workflows/desktop.codeql.yml @@ -32,13 +32,13 @@ on: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Initiize CodeQL + - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: javascript-typescript queries: security-and-quality source-root: desktop - - name: Setup Node.js enviornment ${{ env.CURRENT_NODE_VERSION }} + - name: Setup Node.js environment ${{ env.CURRENT_NODE_VERSION }} uses: actions/setup-node@v4 with: node-version: ${{ env.CURRENT_NODE_VERSION }} diff --git a/.github/workflows/desktop.eslint.yml b/.github/workflows/desktop.eslint.yml index a61988221..24277e084 100644 --- a/.github/workflows/desktop.eslint.yml +++ b/.github/workflows/desktop.eslint.yml @@ -2,29 +2,29 @@ name: desktop ESLINT on: push: branches: - - the-one + - the-one paths: - - 'desktope/**.ts' - - 'desktope/**.tsx' - - 'desktope/**.js' - - 'desktope/**.cjs' - - 'desktope/**.json' - - 'desktope/**.svelte' - - '.github/workflows/desktope.eslint.yml' + - "desktope/**.ts" + - "desktope/**.tsx" + - "desktope/**.js" + - "desktope/**.cjs" + - "desktope/**.json" + - "desktope/**.svelte" + - ".github/workflows/desktope.eslint.yml" pull_request: branches: - - the-one + - the-one paths: - - 'desktope/**.ts' - - 'desktope/**.tsx' - - 'desktope/**.js' - - 'desktope/**.cjs' - - 'desktope/**.json' - - 'desktope/**.svelte' - - '.github/workflows/desktope.eslint.yml' + - "desktope/**.ts" + - "desktope/**.tsx" + - "desktope/**.js" + - "desktope/**.cjs" + - "desktope/**.json" + - "desktope/**.svelte" + - ".github/workflows/desktope.eslint.yml" env: CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} -josb: +jobs: lint: runs-on: ubuntu-latest steps: @@ -33,7 +33,7 @@ josb: uses: actions/setup-node@v4.0.2 with: node-version: ${{ env.CURRENT_NODE_VERSION }} - cache: 'npm' + cache: "npm" cache-dependency-path: | framework/package-lock.json documentation-website/package-lock.json @@ -44,4 +44,4 @@ josb: - run: npm ci - run: cd desktop && npm ci - run: cd desktop && npm run language - - run: cd desktop && npm run lint \ No newline at end of file + - run: cd desktop && npm run lint diff --git a/.github/workflows/desktop.fta.yml b/.github/workflows/desktop.fta.yml index 695d9b02b..8304a2565 100644 --- a/.github/workflows/desktop.fta.yml +++ b/.github/workflows/desktop.fta.yml @@ -30,7 +30,7 @@ on: steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} - uses: actions/checkout@v4 + uses: actions/setup-node@v4 with: node-version: ${{ env.CURRENT_NODE_VERSION }} cache: 'npm' diff --git a/.github/workflows/desktop.language.yml b/.github/workflows/desktop.language.yml index 622386f2a..6d8c8aafd 100644 --- a/.github/workflows/desktop.language.yml +++ b/.github/workflows/desktop.language.yml @@ -1,4 +1,4 @@ -name: dektop language lint +name: desktop language lint on: push: branches: @@ -13,14 +13,14 @@ on: - 'desktop/language/*.yml' - '.github/workflows/desktop.language-lint.yml' env: - CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + CURRENT_NODE_VERSION: ${{ env.CURRENT_NODE_VERSION || 'latest' } jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} - uses: actions/checkout@v4 + uses: actions/setup-node@v4 with: node-version: ${{ env.CURRENT_NODE_VERSION }} cache: 'npm' diff --git a/.github/workflows/desktop.spellcheck.yml b/.github/workflows/desktop.spellcheck.yml index d2fb673e8..ac386866b 100644 --- a/.github/workflows/desktop.spellcheck.yml +++ b/.github/workflows/desktop.spellcheck.yml @@ -21,10 +21,10 @@ on: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ env.CURRENT_NODE_VERSION } - uses: actions/checkout@v4 + - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} + uses: actions/setup-node@v4 with: - node-version: ${{ env.CURRENT_NODE_VERSION } + node-version: ${{ env.CURRENT_NODE_VERSION }} cache: 'npm' cache-dependency-path: | framework/package-lock.json diff --git a/.github/workflows/desktop.stylelint.yml b/.github/workflows/desktop.stylelint.yml index a8e3c3064..faaad85e9 100644 --- a/.github/workflows/desktop.stylelint.yml +++ b/.github/workflows/desktop.stylelint.yml @@ -20,7 +20,7 @@ on: stylelint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} uses: actions/checkout@v4 with: From c7c08c66d9feba24578a8daca0b468c0e2494dd7 Mon Sep 17 00:00:00 2001 From: Angelina Ceppaluni Date: Mon, 6 May 2024 22:21:38 -0400 Subject: [PATCH 3/6] issue 949 spacing check --- .github/workflows/desktop.codeql.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/desktop.codeql.yml b/.github/workflows/desktop.codeql.yml index 70116333f..a6abfb671 100644 --- a/.github/workflows/desktop.codeql.yml +++ b/.github/workflows/desktop.codeql.yml @@ -14,14 +14,14 @@ on: branches: - the-one paths: - - 'desktop/**.ts' - - 'desktop/**.tsx' - - 'desktop/**.js' - - 'desktop/**.cjs' - - 'desktop/package-lock.json' - - '.github/workflows/desktop.codeql.yml' + - 'desktop/**.ts' + - 'desktop/**.tsx' + - 'desktop/**.js' + - 'desktop/**.cjs' + - 'desktop/package-lock.json' + - '.github/workflows/desktop.codeql.yml' env: - CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} + CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} jobs: analyze: name: Analyze From 1ab5101cd1e5abc5cb24c024add0ce64a1475028 Mon Sep 17 00:00:00 2001 From: Angelina Ceppaluni Date: Mon, 6 May 2024 22:24:39 -0400 Subject: [PATCH 4/6] fix issue949 spacing and line --- .github/workflows/desktop.codeql.yml | 2 +- .github/workflows/desktop.fta.yml | 2 +- .github/workflows/desktop.knip.yml | 2 +- .github/workflows/desktop.language.yml | 2 +- .github/workflows/desktop.mdlint.yml | 2 +- .github/workflows/desktop.spellcheck.yml | 2 +- .github/workflows/desktop.stylelint.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/desktop.codeql.yml b/.github/workflows/desktop.codeql.yml index a6abfb671..37b04d9b9 100644 --- a/.github/workflows/desktop.codeql.yml +++ b/.github/workflows/desktop.codeql.yml @@ -55,4 +55,4 @@ on: - name: Perform CodeQL Analysis uses: github/codeql-actions/analyze@v3 with: - category: "/language:javascript-typescript" \ No newline at end of file + category: "/language:javascript-typescript" diff --git a/.github/workflows/desktop.fta.yml b/.github/workflows/desktop.fta.yml index 8304a2565..1e1572a6d 100644 --- a/.github/workflows/desktop.fta.yml +++ b/.github/workflows/desktop.fta.yml @@ -43,4 +43,4 @@ on: package-lock.json - run: npm ci - run: cd desktop && npm ci && npm run language - - run: npm run fta -- desktop || true \ No newline at end of file + - run: npm run fta -- desktop || true diff --git a/.github/workflows/desktop.knip.yml b/.github/workflows/desktop.knip.yml index 31888ffef..754ded076 100644 --- a/.github/workflows/desktop.knip.yml +++ b/.github/workflows/desktop.knip.yml @@ -44,4 +44,4 @@ on: - run: npm ci - run: cd desktop && npm ci - run: cd desktop && npm run language - - run: cd desktop && npm run Knip \ No newline at end of file + - run: cd desktop && npm run Knip diff --git a/.github/workflows/desktop.language.yml b/.github/workflows/desktop.language.yml index 6d8c8aafd..69b64ff05 100644 --- a/.github/workflows/desktop.language.yml +++ b/.github/workflows/desktop.language.yml @@ -32,4 +32,4 @@ on: cli/package-lock.json package-lock.json - run: npm ci - - run: npm run check-language -- desktop \ No newline at end of file + - run: npm run check-language -- desktop diff --git a/.github/workflows/desktop.mdlint.yml b/.github/workflows/desktop.mdlint.yml index baee6a82c..8c0a94bfd 100644 --- a/.github/workflows/desktop.mdlint.yml +++ b/.github/workflows/desktop.mdlint.yml @@ -34,4 +34,4 @@ on: cli/package-lock.json package-lock.json - run: cd desktop && npm ci - - run: cd desktop && npm run lint-md \ No newline at end of file + - run: cd desktop && npm run lint-md diff --git a/.github/workflows/desktop.spellcheck.yml b/.github/workflows/desktop.spellcheck.yml index ac386866b..bf5b5185e 100644 --- a/.github/workflows/desktop.spellcheck.yml +++ b/.github/workflows/desktop.spellcheck.yml @@ -34,4 +34,4 @@ on: documentation-website/package-lock.json package-lock.json - run: cd desktop && npm ci - - run: cd desktop && npm run spellcheck \ No newline at end of file + - run: cd desktop && npm run spellcheck diff --git a/.github/workflows/desktop.stylelint.yml b/.github/workflows/desktop.stylelint.yml index faaad85e9..e86092723 100644 --- a/.github/workflows/desktop.stylelint.yml +++ b/.github/workflows/desktop.stylelint.yml @@ -52,4 +52,4 @@ on: cli/package-lock.json package-lock.json - run: cd desktop && npm ci - - run: cd desktop && npm run lint-css \ No newline at end of file + - run: cd desktop && npm run lint-css From d3fee213664a952ab7b29ad629d6f17365a1d7d5 Mon Sep 17 00:00:00 2001 From: Angelina Ceppaluni Date: Tue, 7 May 2024 10:39:16 -0400 Subject: [PATCH 5/6] issue949 typos and extension --- .github/workflows/desktop.eslint.yml | 28 ++++++++++++++-------------- .github/workflows/desktop.fta.yml | 4 ++-- .github/workflows/desktop.knip.yml | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/desktop.eslint.yml b/.github/workflows/desktop.eslint.yml index 24277e084..e2cfdc25e 100644 --- a/.github/workflows/desktop.eslint.yml +++ b/.github/workflows/desktop.eslint.yml @@ -4,24 +4,24 @@ on: branches: - the-one paths: - - "desktope/**.ts" - - "desktope/**.tsx" - - "desktope/**.js" - - "desktope/**.cjs" - - "desktope/**.json" - - "desktope/**.svelte" - - ".github/workflows/desktope.eslint.yml" + - "desktop/**.ts" + - "desktop/**.tsx" + - "desktop/**.js" + - "desktop/**.cjs" + - "desktop/**.json" + - "desktop/**.vue" + - ".github/workflows/desktop.eslint.yml" pull_request: branches: - the-one paths: - - "desktope/**.ts" - - "desktope/**.tsx" - - "desktope/**.js" - - "desktope/**.cjs" - - "desktope/**.json" - - "desktope/**.svelte" - - ".github/workflows/desktope.eslint.yml" + - "desktop/**.ts" + - "desktop/**.tsx" + - "desktop/**.js" + - "desktop/**.cjs" + - "desktop/**.json" + - "desktop/**.vue" + - ".github/workflows/desktop.eslint.yml" env: CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} jobs: diff --git a/.github/workflows/desktop.fta.yml b/.github/workflows/desktop.fta.yml index 1e1572a6d..e476adf0a 100644 --- a/.github/workflows/desktop.fta.yml +++ b/.github/workflows/desktop.fta.yml @@ -9,7 +9,7 @@ on: - 'desktop/**.js' - 'desktop/**.cjs' - 'desktop/**.json' - - 'desktop/**.svelte' + - 'desktop/**.vue' - '.github/workflows/desktop.fta.yml' pull_request: branches: @@ -20,7 +20,7 @@ on: - 'desktop/**.js' - 'desktop/**.cjs' - 'desktop/**.json' - - 'desktop/**.svelte' + - 'desktop/**.vue' - '.github/workflows/desktop.fta.yml' env: CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} diff --git a/.github/workflows/desktop.knip.yml b/.github/workflows/desktop.knip.yml index 754ded076..c05ddc9c5 100644 --- a/.github/workflows/desktop.knip.yml +++ b/.github/workflows/desktop.knip.yml @@ -9,7 +9,7 @@ on: - 'desktop/**.js' - 'desktop/**.cjs' - 'desktop/**.json' - - 'desktop/**.svelte' + - 'desktop/**.vue' - '.github/workflows/desktop.knip.yml' pull_request: branches: @@ -20,7 +20,7 @@ on: - 'desktop/**.js' - 'desktop/**.cjs' - 'desktop/**.json' - - 'desktop/**.svelte' + - 'desktop/**.vue' - '.github/workflows/desktop.knip.yml' env: CURRENT_NODE_VERSION: ${{ vars.CURRENT_NODE_VERSION || 'latest' }} From 3343a359e3ec1a84fe7b333281d99c65eef318f1 Mon Sep 17 00:00:00 2001 From: Angelina Ceppaluni Date: Tue, 7 May 2024 11:03:50 -0400 Subject: [PATCH 6/6] issue949 typos --- .github/workflows/desktop.license-check.yml | 2 +- .github/workflows/desktop.mdlint.yml | 2 +- .github/workflows/desktop.stylelint.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/desktop.license-check.yml b/.github/workflows/desktop.license-check.yml index 033343b17..bc166cf24 100644 --- a/.github/workflows/desktop.license-check.yml +++ b/.github/workflows/desktop.license-check.yml @@ -20,7 +20,7 @@ on: steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} - uses: actions/checkout@v4 + uses: actions/setup-node@v4 with: node-version: ${{ env.CURRENT_NODE_VERSION }} cache: 'npm' diff --git a/.github/workflows/desktop.mdlint.yml b/.github/workflows/desktop.mdlint.yml index 8c0a94bfd..fcbc99ed7 100644 --- a/.github/workflows/desktop.mdlint.yml +++ b/.github/workflows/desktop.mdlint.yml @@ -22,7 +22,7 @@ on: steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} - uses: actions/checkout@v4 + uses: actions/setup-node@v4 with: node-version: ${{ env.CURRENT_NODE_VERSION }} cache: 'npm' diff --git a/.github/workflows/desktop.stylelint.yml b/.github/workflows/desktop.stylelint.yml index e86092723..f3e687efd 100644 --- a/.github/workflows/desktop.stylelint.yml +++ b/.github/workflows/desktop.stylelint.yml @@ -20,9 +20,9 @@ on: stylelint: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v4 + - uses: actions/checkout@v4 - name: Use Node.js ${{ env.CURRENT_NODE_VERSION }} - uses: actions/checkout@v4 + uses: actions/setup-node@v4 with: node-version: ${{ env.CURRENT_NODE_VERSION }} cache: 'npm'