Skip to content

feat: bun

feat: bun #1161

Workflow file for this run

# https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions
name: Integration Tests
on:
push:
branches: [master]
pull_request:
branches:
- "**"
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v2
# Use Bun
- name: Use Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
# Install
- name: Install
run: bun install
# Build
- name: Build
run: bun run build
# Install bun dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5
with:
start: bun run serve:build
- name: Upload Cypress Videos
uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
path: cypress/videos
- name: Upload Cypress Screenshots
uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-screenshots
path: cypress/screenshots