Refactor deployment workflow to use Bun instead of Node.js
Some checks failed
Deploy to Azure Static Web Apps / build-and-deploy (push) Failing after 1m18s
Some checks failed
Deploy to Azure Static Web Apps / build-and-deploy (push) Failing after 1m18s
This commit is contained in:
@@ -14,18 +14,18 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: bun install
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: bun run build
|
||||||
|
|
||||||
- name: Install Azure SWA CLI
|
- name: Install Azure SWA CLI
|
||||||
run: npm install -g @azure/static-web-apps-cli
|
run: bun install -g @azure/static-web-apps-cli
|
||||||
|
|
||||||
- name: Deploy to Azure Static Web Apps
|
- name: Deploy to Azure Static Web Apps
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user