Skip to content

Bump prettier from 2.8.4 to 2.8.8 #238

Bump prettier from 2.8.4 to 2.8.8

Bump prettier from 2.8.4 to 2.8.8 #238

name: GitHub CI
on:
workflow_call:
pull_request:
branches: [main]
concurrency:
group: integration-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [19.1.0]
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # ratchet:actions/checkout@v3
- uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # ratchet:actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn each test -- run
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [19.1.0]
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # ratchet:actions/checkout@v3
- uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # ratchet:actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn each build
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [19.1.0]
poetry-version: [1.2.2]
python-version: [3.10.8]
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # ratchet:actions/checkout@v3
- uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048 # ratchet:actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # ratchet:actions/cache@v3
with:
key: poetry-${{ matrix.poetry-version }}
path: ~/.local
- uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # ratchet:actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@d45b6d76012debf457ab49dffc7fb7b2efe8071d # ratcher:snok/install-poetryy@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
version: ${{ matrix.poetry-version }}
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # ratchet:actions/cache@v3
with:
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.poetry-version }}-${{ hashFiles('**/poetry.lock') }}
path: .venv
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # ratchet:actions/cache@v3
with:
key: pre-commit-${{ runner.os }}-${{ hashFiles('**/.pre-commit-config.yaml') }}-${{ hashFiles('**/poetry.lock') }}
path: ~/.cache/pre-commit
- run: yarn install
- run: yarn prepare-ci
- run: yarn lint --all-files