Skip to content

Update dependency @types/node to v20.12.12 #112

Update dependency @types/node to v20.12.12

Update dependency @types/node to v20.12.12 #112

Workflow file for this run

name: ts
on:
pull_request:
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- .github/workflows/ts.yaml
push:
branches:
- main
paths:
- src/**
- tests/**
- '*.json'
- '*.yaml'
- .github/workflows/ts.yaml
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm test
- run: pnpm build
- id: codeowners
name: Run find-codeowners-action
uses: ./
with:
codeowners: .github/CODEOWNERS
path: src/main.ts
- run: test '${{ steps.codeowners.outputs.owners }}' = '@int128'
- id: test-codeowners-1
name: Test CODEOWNERS
uses: ./
with:
codeowners: .github/CODEOWNERS
path: src/*.ts
path-glob: true
- if: steps.test-codeowners-1.outputs.orphan-files
run: exit 1
- id: test-codeowners-2
name: Test CODEOWNERS
uses: ./
with:
codeowners: .github/CODEOWNERS
path: .github/workflows/*
path-glob: true
- if: steps.test-codeowners-2.outputs.orphan-files == ''
run: exit 1
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm lint --fix
- run: pnpm format
- uses: int128/update-generated-files-action@96ac74aa35f9d2e748335b60e7f3260304d22a6b # v2.51.0