Skip to content

build(deps-dev): bump eslint-config-prettier from 8.5.0 to 9.1.0 (#38) #48

build(deps-dev): bump eslint-config-prettier from 8.5.0 to 9.1.0 (#38)

build(deps-dev): bump eslint-config-prettier from 8.5.0 to 9.1.0 (#38) #48

Workflow file for this run

name: ci
on:
push:
jobs:
lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16, 18, 20]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Cache node_modules πŸ“¦
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-node-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm install
- name: Build project
run: npm run build
- name: Run lint πŸ‘€
run: npm run lint
- name: Run test πŸ‘€
run: npm run test