Skip to content

Commit

Permalink
🔧 refactor(chromatic.yml, ci.yml): remove redundant Node.js setup steps
Browse files Browse the repository at this point in the history
🎨 style(chromatic.yml, ci.yml): improve readability by removing unnecessary blank lines
HarrisFauntleroy committed Sep 16, 2023
1 parent c8e114a commit cf96042
Showing 2 changed files with 4 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "bun"

- name: Install dependencies 📦
run: bun install

10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -15,19 +15,13 @@ jobs:
permissions: write-all
timeout-minutes: 15
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "bun"

- name: Install dependencies 📦
run: bun install

0 comments on commit cf96042

Please sign in to comment.