Skip to content

fix(deps): update dependency typescript to v6 #1744

fix(deps): update dependency typescript to v6

fix(deps): update dependency typescript to v6 #1744

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'LICENSE'
pull_request:
paths-ignore:
- 'README.md'
- 'LICENSE'
env:
HUSKY: 0
jobs:
lint:
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
- run: bun run check
- run: bun run biome:ci
- run: bun run lint:ls
- run: bun run lint:text
- run: bun run lint:knip
- uses: crate-ci/typos@631208b7aac2daa8b707f55e7331f9112b0e062d # v1.44.0
typecheck:
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
with:
build: 'true'
- run: bun run test:type
unit-test:
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
- run: bun run test:unit
e2e-test:
runs-on: ubuntu-24.04
timeout-minutes: 60
strategy:
matrix:
browser: [chromium, firefox, webkit]
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
with:
build: 'true'
- run: bun run playwright install --with-deps ${{ matrix.browser }}
- run: bun run playwright test --project ${{ matrix.browser }}
vrt:
runs-on: ubuntu-24.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
with:
build: 'true'
- run: bun run preview &
- uses: lost-pixel/lost-pixel@41055d71dea42eb5fa5c27dabd2a90722f376e33 # v3.22.0
env:
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }}
coverage:
runs-on: ubuntu-24.04
needs: unit-test
timeout-minutes: 60
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
- run: bun run coverage
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
with:
files: ./coverage/coverage-final.json
deploy:
runs-on: ubuntu-24.04
needs: [lint, typecheck, unit-test, e2e-test, vrt]
timeout-minutes: 60
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: ./.github/actions/install
with:
build: 'true'
# https://github.com/cloudflare/wrangler-action#deploy-your-pages-site-production--preview
- uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3
with:
command: pages deploy
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/cloudflare/wrangler-action/pull/363
wranglerVersion: "3.91.0"