Bump @types/node from 20.14.14 to 20.17.1 #1573
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~~ 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 |