Skip to content

Commit

Permalink
chore: deploy migrate from npm to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
GulomovCreative committed Aug 19, 2024
1 parent bf4d671 commit 79ef4c1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ jobs:
if: github.repository_owner == 'modx-pro'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: oven-sh/setup-bun@v2
with:
node-version: 18
cache: npm
- run: npm install --frozen-lockfile
bun-version: latest
- run: bun install --frozen-lockfile
- name: Build
run: npm run build
run: bun run build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
NODE_OPTIONS: "--BUN_JSC_forceRAMSize=4096"
- uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
Expand Down

0 comments on commit 79ef4c1

Please sign in to comment.