Skip to content

[Dev] Update dependency babel-jest to v29.6.3 (#92) #233

[Dev] Update dependency babel-jest to v29.6.3 (#92)

[Dev] Update dependency babel-jest to v29.6.3 (#92) #233

name: Lint
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [main]
permissions:
contents: read
jobs:
build-and-test:
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && !github.event.pull_request.draft && !startsWith(github.event.pull_request.title, 'WIP ')) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
clean: true
lfs: true
submodules: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
cache: "pip"
- run: pip install -r requirements.txt
- run: black --check .
- run: pylint salt2type
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm install
working-directory: tpl
- run: npx prettier --check ..
working-directory: tpl
- run: npm run lint
working-directory: tpl
- run: npm run typecheck
working-directory: tpl
- run: npm run build
working-directory: tpl
- run: npm run test
working-directory: tpl