chore: refresh dependencies and GitHub Actions #119
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| workflow_call: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "15 3 * * *" | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| name: CI (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Setup Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: "lts/*" | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Chromium | |
| if: ${{ hashFiles('vitest.test.browser.config.ts', 'playwright.config.*') != '' }} | |
| run: npx playwright install chromium | |
| - name: Format check | |
| run: npm run fmt -- --check | |
| - name: Full release checks | |
| run: npm run check |