diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb6e540..0fd155e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,14 +17,20 @@ jobs: - name: Checkout uses: actions/checkout@v6 - - uses: pnpm/action-setup@v6 + - name: Setup pnpm + uses: pnpm/action-setup@v6 with: - version: latest #10 - run_install: | - - recursive: true - args: [--force, --fix-lockfile, --no-frozen-lockfile] - - args: [--global, typescript] - + version: latest + + - name: Setup Node + uses: actions/setup-node@v6 + with: + node-version: 'lts/*' + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --force --fix-lockfile --no-frozen-lockfile + - name: Generate types run: pnpm run generate-types diff --git a/package.json b/package.json index 83319f9..c2e1973 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,8 @@ "@cloudflare/workers-types": "latest", "typescript": "latest", "wrangler": "latest" + }, + "pnpm": { + "onlyBuiltDependencies": ["esbuild", "sharp", "workerd"] } }