mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
Remove lint job from build workflows (#2538)
This commit is contained in:
5
.github/workflows/build-browser.yml
vendored
5
.github/workflows/build-browser.yml
vendored
@@ -58,7 +58,6 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- lint
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3.0.0
|
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3.0.0
|
||||||
@@ -223,7 +222,6 @@ jobs:
|
|||||||
- locales-test
|
- locales-test
|
||||||
- build
|
- build
|
||||||
- crowdin-push
|
- crowdin-push
|
||||||
- lint
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check if any job failed
|
- name: Check if any job failed
|
||||||
if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/rc') }}
|
if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/rc') }}
|
||||||
@@ -233,7 +231,6 @@ jobs:
|
|||||||
LOCALES_TEST_STATUS: ${{ needs.locales-test.result }}
|
LOCALES_TEST_STATUS: ${{ needs.locales-test.result }}
|
||||||
BUILD_STATUS: ${{ needs.build.result }}
|
BUILD_STATUS: ${{ needs.build.result }}
|
||||||
CROWDIN_PUSH_STATUS: ${{ needs.crowdin-push.result }}
|
CROWDIN_PUSH_STATUS: ${{ needs.crowdin-push.result }}
|
||||||
LINT_STATUS: ${{ needs.lint.result }}
|
|
||||||
run: |
|
run: |
|
||||||
if [ "$CLOC_STATUS" = "failure" ]; then
|
if [ "$CLOC_STATUS" = "failure" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
@@ -245,8 +242,6 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
elif [ "$CROWDIN_PUSH_STATUS" = "failure" ]; then
|
elif [ "$CROWDIN_PUSH_STATUS" = "failure" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
elif [ "LINT_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Login to Azure - Prod Subscription
|
- name: Login to Azure - Prod Subscription
|
||||||
|
|||||||
27
.github/workflows/build-desktop.yml
vendored
27
.github/workflows/build-desktop.yml
vendored
@@ -33,26 +33,6 @@ jobs:
|
|||||||
run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
||||||
|
|
||||||
|
|
||||||
lint:
|
|
||||||
name: Lint
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
|
|
||||||
|
|
||||||
- name: Set up Node
|
|
||||||
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0
|
|
||||||
with:
|
|
||||||
cache: 'npm'
|
|
||||||
cache-dependency-path: '**/package-lock.json'
|
|
||||||
node-version: '16'
|
|
||||||
|
|
||||||
- name: Run linter
|
|
||||||
run: |
|
|
||||||
npm ci
|
|
||||||
npm run lint
|
|
||||||
|
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
name: Setup
|
name: Setup
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
@@ -525,7 +505,6 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- macos-build
|
- macos-build
|
||||||
- lint
|
|
||||||
env:
|
env:
|
||||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||||
steps:
|
steps:
|
||||||
@@ -709,7 +688,6 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- macos-build
|
- macos-build
|
||||||
- lint
|
|
||||||
env:
|
env:
|
||||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||||
steps:
|
steps:
|
||||||
@@ -885,7 +863,6 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- macos-build
|
- macos-build
|
||||||
- lint
|
|
||||||
env:
|
env:
|
||||||
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
_PACKAGE_VERSION: ${{ needs.setup.outputs.package_version }}
|
||||||
steps:
|
steps:
|
||||||
@@ -1092,7 +1069,6 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- cloc
|
- cloc
|
||||||
- setup
|
- setup
|
||||||
- lint
|
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
- macos-build
|
- macos-build
|
||||||
@@ -1105,7 +1081,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CLOC_STATUS: ${{ needs.cloc.result }}
|
CLOC_STATUS: ${{ needs.cloc.result }}
|
||||||
SETUP_STATUS: ${{ needs.setup.result }}
|
SETUP_STATUS: ${{ needs.setup.result }}
|
||||||
LINT_STATUS: ${{ needs.lint.result }}
|
|
||||||
LINUX_STATUS: ${{ needs.linux.result }}
|
LINUX_STATUS: ${{ needs.linux.result }}
|
||||||
WINDOWS_STATUS: ${{ needs.windows.result }}
|
WINDOWS_STATUS: ${{ needs.windows.result }}
|
||||||
MACOS_BUILD_STATUS: ${{ needs.macos-build.result }}
|
MACOS_BUILD_STATUS: ${{ needs.macos-build.result }}
|
||||||
@@ -1117,8 +1092,6 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
elif [ "$SETUP_STATUS" = "failure" ]; then
|
elif [ "$SETUP_STATUS" = "failure" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
elif [ "$LINT_STATUS" = "failure" ]; then
|
|
||||||
exit 1
|
|
||||||
elif [ "$LINUX_STATUS" = "failure" ]; then
|
elif [ "$LINUX_STATUS" = "failure" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
elif [ "$WINDOWS_STATUS" = "failure" ]; then
|
elif [ "$WINDOWS_STATUS" = "failure" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user