1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-22 02:01:49 +03:00
tauri/.github/workflows/lint-js.yml
Lucas Fernandes Nogueira a50f24b2bd
Merge remote-tracking branch 'origin/dev' into next ()
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos ()
Fix api.js docs pipeline with updated typedoc dependencies ()
closes  ()
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes  ()
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes 
fix broken symlinks in license files ()
fix(cli): fix cli connection timeout to dev server (fix ) ()
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes  ()
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix )
closes  ()
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes  ()
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes 
fix(updater): emit `UPTODATE` when server responds with 204, closes  ()
fix(core): unpin all dependencies, closes  ()
fix(bundler): Add new lang_file option in persian variant. ()
fix(core/ipc): access url through webview native object, closes  ()
fix(core): remove trailing slash in http scope url, closes  ()
fix(core): remove trailing slash in http scope url, closes 
fix(cli): find correct binary when `--profile` is used, closes  ()
fix(cli): find correct binary when `--profile` is used, closes 
closes  ()
closes 
closes  ()
closes 
fix(cli): improve vs build tools detection ()
fix: updated appimage script to follow symlinks for /usr/lib* (fix: ) ()
fix(cli): correctly remove Cargo features ()
Fix typo ()
fix(cli): revert metadata.json field rename from  ()
closes  ()
fix: add missing file properties on Windows, closes  ()
fix(cli.js): detect node-20 binary ()
fix version-or-publish workflow ()
fix(cli/devserver): inject autoreload into HTML only, closes  ()
fix(bundler/nsis): write installer templates UTF16LE encoded, closes  ()
fix(bundler/nsis): write installer templates UTF16LE encoded, closes 
fix(core): rewrite `asset` protocol streaming, closes  ()
closes  ()
fix(core): use `safe_block_on` ()
closes  ()
closes  ()
fix(core): populate webview_attrs from config, closes  ()
closes  ()
fix: sound for notifications on windows (fix ) ()
close native window's buttons, closes  ()
fix(bundler/nsis): calculate accurate app size, closes  ()
fix(tests): only download update when it is available ()
closes  ()
fix(doc): correct the doc of `content_protected()` ()
closes  ()
fix(macros): use full path to Result to avoid issues with type aliases ()
2023-05-29 21:29:24 -03:00

58 lines
1.4 KiB
YAML

# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: lint js
on:
pull_request:
paths:
- '.github/workflows/lint-js.yml'
- 'tooling/cli/node/**'
- 'tooling/api/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
eslint-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: yarn
cache-dependency-path: tooling/cli/node/yarn.lock
- name: install deps via yarn
working-directory: ./tooling/cli/node/
run: yarn
# nothing to lint
#- name: run lint
# working-directory: ./tooling/cli/node/
# run: yarn lint
- name: run format
working-directory: ./tooling/cli/node/
run: yarn format:check
eslint-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
cache: yarn
cache-dependency-path: tooling/api/yarn.lock
- name: install deps via yarn
working-directory: ./tooling/api/
run: yarn
- name: run lint
working-directory: ./tooling/api/
run: yarn lint
- name: run format
working-directory: ./tooling/api/
run: yarn format:check