diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index f00ce11..48d611a 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -1,4 +1,5 @@ --- + name: "Code Quality: TypeScript" on: @@ -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