Skip to content

Commit

Permalink
feat: migrate npm to bun in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amalv committed Feb 24, 2024
1 parent 8d39cfb commit 18103cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
run: bun install
- name: Build
run: npm run build
run: bun run build
env:
PUBLIC_BASE_URL: "/bukie/"
VITE_API_URL_PRODUCTION: ${{ secrets.VITE_API_URL_PRODUCTION }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
run: bun install
- name: Build
run: npm run build
run: bun run build
env:
VITE_API_URL_STAGING: ${{ secrets.VITE_API_URL_STAGING}}
VITE_AUTH0_DOMAIN: ${{ secrets.VITE_AUTH0_DOMAIN_STAGING }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm install
run: bun install
- name: Build
run: npm run build
run: bun run build
- name: Run semantic release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
run: bunx semantic-release

0 comments on commit 18103cc

Please sign in to comment.