mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 13:33:27 +00:00
switch to pnpm and add import aliasing
This commit is contained in:
10
.github/workflows/cloudflare.yml
vendored
10
.github/workflows/cloudflare.yml
vendored
@@ -12,18 +12,20 @@ jobs:
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
cache: 'npm'
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install npm packages
|
||||
run: npm install
|
||||
- name: Install packages
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build Project
|
||||
run: npm run build:cloudflare
|
||||
run: pnpm build:cloudflare
|
||||
|
||||
- name: Build & Deploy Worker
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
|
Reference in New Issue
Block a user