fix(ci): migrate workflow from npm to pnpm

This commit is contained in:
tiennm99 committed 2026-05-13 10:28:45 +07:00
1 parent 4387a6c286
commit 661e00bd13
1 file changed
+9 -3
+9 -3
View File
@@ -10,12 +10,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run lint
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint
# Update find roots when adding new top-level JS dirs.
- name: Syntax check all JS
run: find api scripts src -name '*.js' -print0 | xargs -0 -n1 node --check