This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
Bump eslint from 6.8.0 to 8.48.0 #541
Workflow file for this run
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
# | |
# Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
# | |
name: Pull request validation | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
validation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clear cache | |
run: yarn cache clean | |
# Checks-out beagle-web-core under $GITHUB_WORKSPACE | |
- name: clone beagle-web-core | |
uses: actions/checkout@v2 | |
with: | |
repository: ZupIT/beagle-web-core | |
path: core | |
- name: install beagle-web-core | |
run: cd core && yarn | |
- name: build beagle-web-core | |
run: cd core && yarn build | |
- name: create link for beagle-web-core | |
run: cd core/dist && yarn link | |
# Checks-out beagle-react under $GITHUB_WORKSPACE | |
- name: clone beagle-react | |
uses: actions/checkout@v2 | |
with: | |
path: react | |
- name: link beagle-react to beagle-web-core | |
run: cd react && yarn link @zup-it/beagle-web | |
- name: install | |
run: cd react && yarn | |
- name: lint | |
run: cd react && yarn lint | |
- name: test | |
run: cd react && yarn test --maxWorkers=2 | |
- name: test and comment | |
continue-on-error: true | |
uses: mattallty/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
working-directory: "react" | |
test-command: "yarn test --maxWorkers=2" | |
- name: build-health-check | |
run: cd react && yarn build |