Skip to content

Commit

Permalink
refactor: Update workflow to use Yarn for package installation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerh2001 committed Sep 8, 2024
1 parent f700521 commit c2350ef
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install LTS node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install Yarn v4
run: yarn set version berry

- name: Install Yarn
run: npm install -g yarn

- name: Install Dependencies
run: bun i --dev
run: yarn install

# Authenticate with ghcr.io
- name: Authenticate with ghcr.io
run: echo "${{ secrets.GH_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Semantic Release
run: bunx semantic-release
run: npx semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down

0 comments on commit c2350ef

Please sign in to comment.