Skip to content

feat(repo): move from pnpm to bun #690

feat(repo): move from pnpm to bun

feat(repo): move from pnpm to bun #690

Workflow file for this run

name: 'Chromatic'
on:
push:
branches:
- main
pull_request:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: npm install -g bun
- run: bun --version
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-${{ matrix.bun }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-${{ matrix.bun }}-bun-
- name: Install
run: bun install --frozen-lockfile --prefer-offline
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: chpt_845c7a47afdb884
exitOnceUploaded: true
exitZeroOnChanges: true