Skip to content

fix(deps): update gatsby (minor) #65

fix(deps): update gatsby (minor)

fix(deps): update gatsby (minor) #65

Workflow file for this run

name: Analyze
on:
pull_request:
branches:
- main
jobs:
install:
name: Install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Cache Bun dependencies
id: bun-cache
uses: actions/cache@v4
with:
path: |
~/.bun
node_modules
key: bun-${{ runner.os }}-${{ hashFiles('bun.lockb') }}
restore-keys: |
bun-${{ runner.os }}-
- name: Install modules
if: steps.bun-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile
build:
name: Build
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Restore dependencies
id: bun-cache
uses: actions/cache/restore@v4
with:
path: |
~/.bun
node_modules
key: bun-${{ runner.os }}-${{ hashFiles('bun.lockb') }}
- name: Install modules
if: steps.bun-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile
- name: Run build
run: bun run build
test:
name: Test
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Restore dependencies
id: bun-cache
uses: actions/cache/restore@v4
with:
path: |
~/.bun
node_modules
key: bun-${{ runner.os }}-${{ hashFiles('bun.lockb') }}
- name: Install modules
if: steps.bun-cache.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile
- name: Run tests
run: bun run test