Skip to content

Commit

Permalink
Update Node.js version and use bun for dependency management in githu…
Browse files Browse the repository at this point in the history
…b action
  • Loading branch information
JustJoostNL committed May 1, 2024
1 parent 3f8ae2b commit 67f8ec0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- rebuild

jobs:
build:
Expand All @@ -18,16 +17,19 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Install Node.js, NPM and Yarn
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install bun
uses: oven-sh/setup-bun@v1

- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 400000
run: bun install --frozen-lockfile

- name: Build app
run: yarn build
run: bun run build
env:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_ID: ${{ secrets.APPLE_ID }}
Expand Down

0 comments on commit 67f8ec0

Please sign in to comment.