Skip to content

Commit

Permalink
install ncc globally instead of via devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
ksatirli committed May 3, 2024
1 parent 754b5cb commit 9088f36
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---

name: "Code Quality: TypeScript"

on:
Expand Down Expand Up @@ -28,8 +29,14 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install NPM Packages
run: npm ci
- name: Install `ncc` globally
run: npm install --global @vercel/ncc

- name: Install Action-specific NPM Packages
run: npm install-clean

- name: Build TypeScript code
run: npm run build
run: |
npm run-script fmt \
&& \
npm run-script build

0 comments on commit 9088f36

Please sign in to comment.