Skip to content

build(deps): update dependency json-schema-to-ts to v3.1.0 #502

build(deps): update dependency json-schema-to-ts to v3.1.0

build(deps): update dependency json-schema-to-ts to v3.1.0 #502

Workflow file for this run

name: Node.js CI
on:
workflow_dispatch:
pull_request:
branches: [main]
paths:
- '**.ts'
- '**/package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/*.yml'
push:
branches: [main]
paths:
- '**.ts'
- '**/package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/*.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
ci:
name: Node.js CI
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Node environment
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20.10.0
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run build
run: pnpm build
- name: Run test
run: pnpm test