Skip to content

chore(deps): update all dependencies #1322

chore(deps): update all dependencies

chore(deps): update all dependencies #1322

Workflow file for this run

name: pr
on:
pull_request:
branches:
- '**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node: ['18.12.0', '20.0.0']
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: npm ci
- name: Prettier
run: npm run prettier:check
- name: Run knip
run: npx knip
- name: Build
run: npm run build
- name: Test
run: npm run test:ci