diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 9ce97a1..1531604 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -2,17 +2,13 @@ name: Setup runs: using: composite steps: - - uses: actions/setup-node@v4 - with: - node-version-file: '.nvmrc' - registry-url: https://registry.npmjs.org - cache: yarn - - # For provenance https://docs.npmjs.com/generating-provenance-statements#prerequisites - - name: Install npm 9.5 - run: npm install -g npm@^9.5.0 + - name: Setup Bun + run: | + curl -fsSL https://bun.sh/install | bash + echo 'export BUN_INSTALL="$HOME/.bun"' >> $GITHUB_ENV + echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> $GITHUB_ENV shell: bash - - name: Install node modules - run: yarn install --frozen-lockfile + - name: Install Bun Dependencies + run: bun install shell: bash