switch to pnpm and add import aliasing

This commit is contained in:
mrjvs
2023-09-14 20:19:07 +02:00
parent 2583a5126f
commit bd45c86ef5
9 changed files with 4125 additions and 6652 deletions

View File

@@ -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