Skip to content

chore(deps): bump hono in the npm_and_yarn group across 1 directory #5651

chore(deps): bump hono in the npm_and_yarn group across 1 directory

chore(deps): bump hono in the npm_and_yarn group across 1 directory #5651

Workflow file for this run

name: CI
on: [push]
env:
DO_NOT_TRACK: 1
IBM_TELEMETRY_DISABLED: true
permissions:
contents: read
jobs:
lint:
timeout-minutes: 6
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn set version stable
- run: yarn install --immutable
- run: yarn lint
- run: yarn format:check
- run: yarn typecheck
test:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn set version stable
- run: yarn install --immutable
- run: yarn test
working-directory: tests
cypress-component:
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox, electron]
count: [1]
name: Cypress component tests in ${{ matrix.browser }} ${{ matrix.count }}
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn set version stable
- run: yarn install --immutable
- run: yarn run cy:run:component --browser ${{ matrix.browser }}
working-directory: tests
env:
ELECTRON_ENABLE_LOGGING: true # send console logs to stdout in electron browser
NODE_ENV: test
cypress-component-rpc:
name: Cypress component tests with RPC
if: github.ref_name == 'main'
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: yarn set version stable
- run: yarn install --immutable
- name: Run RPC tests
run: yarn run cy:run:rpc --browser electron # rpc tests are expensive, stick to one browser
working-directory: tests
env:
ELECTRON_ENABLE_LOGGING: true # Electron writes console to stdout
NODE_ENV: test
CYPRESS_TENDERLY_ACCOUNT_SLUG: ${{ vars.TENDERLY_ACCOUNT_SLUG }}
CYPRESS_TENDERLY_PROJECT_SLUG: ${{ vars.TENDERLY_PROJECT_SLUG }}
CYPRESS_TENDERLY_ACCESS_KEY: ${{ secrets.TENDERLY_ACCESS_KEY }}
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-rpc
path: tests/cypress/screenshots
cypress-e2e:
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox, electron]
count: [1]
include:
- browser: chrome
count: 2
name: Cypress in ${{ matrix.browser }} ${{ matrix.count }}
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn
- run: npm install -g wait-on &
- run: yarn set version stable
- run: yarn install --immutable
- run: yarn build
- name: Start dev server
run: yarn start 2>&1 | tee ../../e2e-dev.log &
working-directory: apps/main
- name: Start api server
run: yarn dev 2>&1 | tee ../../e2e-api.log &
working-directory: apps/router-api
- run: yarn run cy:run:e2e --browser ${{ matrix.browser }} | tee ../e2e-cypress-${{ matrix.browser }}-${{ matrix.count }}.log
working-directory: tests
env:
ELECTRON_ENABLE_LOGGING: true # send console logs to stdout in electron browser
NODE_ENV: test
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-main-${{ matrix.browser }}-${{ matrix.count }}
path: tests/cypress/screenshots
retention-days: 1
if-no-files-found: error
- uses: actions/upload-artifact@v4
if: failure()
with:
name: dev-server-log-${{ matrix.browser }}-${{ matrix.count }}
if-no-files-found: error
path: e2e-*.log