Skip to content

Bump typescript from 5.4.5 to 5.5.2 #1272

Bump typescript from 5.4.5 to 5.5.2

Bump typescript from 5.4.5 to 5.5.2 #1272

name: Check Packaging
env:
# See: https://github.com/actions/setup-node/#readme
NODE_VERSION: 16.x
on:
push:
paths:
- ".github/workflows/check-packaging-ncc-typescript-npm.yml"
- "lerna.json"
- "package.json"
- "package-lock.json"
- "tsconfig.json"
- "**.[jt]sx?"
pull_request:
paths:
- ".github/workflows/check-packaging-ncc-typescript-npm.yml"
- "lerna.json"
- "package.json"
- "package-lock.json"
- "tsconfig.json"
- "**.[jt]sx?"
workflow_dispatch:
repository_dispatch:
jobs:
check-packaging:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm install
- name: Build project
run: |
npm run-script build
npm run-script pack
- name: Check packaging
# Ignoring CR because ncc's output has a mixture of line endings, while the repository should only contain
# Unix-style EOL.
run: git diff --ignore-cr-at-eol --color --exit-code dist