Bump @types/node from 22.5.0 to 22.5.2 #213
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
--- | |
name: "Code Quality: TypeScript" | |
on: | |
push: | |
jobs: | |
nodejs: | |
name: Node.js | |
runs-on: ubuntu-latest | |
env: | |
PACKAGES: "@vercel/ncc prettier" | |
strategy: | |
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast | |
fail-fast: false | |
matrix: | |
node-version: | |
- 20.x | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 1 | |
- name: Set up Node.js | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install global NPM packages | |
run: npm install --global ${PACKAGES} | |
- name: Install Action-specific NPM Packages | |
run: npm install-clean | |
- name: Build TypeScript code | |
run: | | |
npm run-script fmt \ | |
&& \ | |
npm run-script build |