Skip to content

Bump @types/node from 20.14.14 to 20.17.0 #1572

Bump @types/node from 20.14.14 to 20.17.0

Bump @types/node from 20.14.14 to 20.17.0 #1572

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: test
on:
push:
paths:
- src/**
- .projenrc.ts
- .github/workflows/test.yml
- package-lock.json
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node_modules
id: cache-deps
uses: actions/cache@v4
with:
key: ${{ hashFiles('./package-lock.json') }}
path: ./node_modules
- name: Install dependencies
if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
run: npm ci
- name: Execute the command
run: npm run lint
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node_modules
id: cache-deps
uses: actions/cache@v4
with:
key: ${{ hashFiles('./package-lock.json') }}
path: ./node_modules
- name: Install dependencies
if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
run: npm ci
- name: Execute the command
run: npm run test
typecheck:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node_modules
id: cache-deps
uses: actions/cache@v4
with:
key: ${{ hashFiles('./package-lock.json') }}
path: ./node_modules
- name: Install dependencies
if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
run: npm ci
- name: Execute the command
run: npm run typecheck
build:
needs:
- lint
- test
- typecheck
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Cache node_modules
id: cache-deps
uses: actions/cache@v4
with:
key: ${{ hashFiles('./package-lock.json') }}
path: ./node_modules
- name: Install dependencies
if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
run: npm ci
- name: Execute the command
run: npm run build