From 67f8ec0a6df9e045c2899f142265f45f0ca8f3dc Mon Sep 17 00:00:00 2001 From: Joost Date: Wed, 1 May 2024 11:23:12 +0200 Subject: [PATCH] Update Node.js version and use bun for dependency management in github action --- .github/workflows/main.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6dbc467..204c4c0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - rebuild jobs: build: @@ -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 }}