Merge pull request #15095 from hasezoey/smallMaintenance #2755
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
name: TypeScript Benchmark | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/benchmark.yml" | |
- "package.json" | |
- "types/**" | |
- "benchmarks/typescript/**" | |
push: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/benchmark.yml" | |
- "package.json" | |
- "types/**" | |
- "benchmarks/typescript/**" | |
permissions: | |
contents: read | |
jobs: | |
typescript: | |
runs-on: ubuntu-20.04 | |
name: Benchmark TypeScript Types | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup node | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 22 | |
- run: npm install | |
- run: node ./scripts/create-tarball.js | |
- run: npm run ts-benchmark |