Skip to content

fix(ci): drop --frozen-lockfile from bun install #131

fix(ci): drop --frozen-lockfile from bun install

fix(ci): drop --frozen-lockfile from bun install #131

Workflow file for this run

name: CI
on:
push:
branches: [confitty]
pull_request:
branches: [confitty]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Type check and production build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.11
- name: Cache Bun store
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install
- name: Type check
run: bun run typecheck
- name: Production build
run: bun run build:prod
- name: Upload build artifacts
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: confitty-dist
path: dist/confitty/browser
retention-days: 7