chore(deps): update typescript-eslint monorepo to v8.7.0 #727
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
name: ci | |
on: | |
push: | |
branches: | |
- "**" | |
defaults: | |
run: | |
# NOTE: A bit stricter than the default bash options used by GitHub Actions | |
# (bash --noprofile --norc -e -o pipefail {0}) | |
shell: bash --noprofile --norc -euo pipefail {0} | |
# NOTE: Set concurrency for the current workflow to 1 | |
concurrency: ci-${{ github.ref }}-${{ github.workflow }} | |
jobs: | |
build-and-release: | |
timeout-minutes: 60 | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: write | |
pull-requests: write | |
issues: write | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: capralifecycle/actions-lib/check-runtime-dependencies@3dcbb3bf9fff687253cc5f1756238eda2fbc2fef # v1.5.3 | |
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
node-version: 20 | |
- uses: capralifecycle/actions-lib/configure-npm@3dcbb3bf9fff687253cc5f1756238eda2fbc2fef # v1.5.3 | |
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 | |
id: setup-python | |
with: | |
python-version: 3.8.18 | |
- name: python - setup dependency cache | |
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('requirements.txt') }} | |
path: .venv | |
- name: python - install dependencies | |
run: | | |
python -m venv .venv | |
source .venv/bin/activate | |
python -m pip install -r requirements.txt | |
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH | |
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV | |
- name: python - lint | |
run: make py-lint | |
- name: python - test | |
run: make py-test | |
- name: npm - install dependencies | |
run: npm ci | |
- name: npm - lint | |
run: npm run lint | |
- name: npm - test | |
run: npm test | |
- name: conditionally semantic release | |
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.SHARED_NPMJS_TOKEN }} | |
run: npm run semantic-release |