chore(deps): update npm packages #436
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize] | |
| permissions: {} | |
| jobs: | |
| ci: | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: read | |
| packages: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Node.js and pnpm | |
| uses: ./.github/actions/setup-node-pnpm | |
| - name: Install Playwright browsers | |
| run: pnpm exec playwright install chromium | |
| - name: Check ready | |
| run: | | |
| pnpm ready | |
| # run again to check cache hits | |
| pnpm ready | |
| env: | |
| VITE_LOG: 'trace' | |
| - name: Check build artifacts | |
| run: | | |
| if [ -d "apps/dashboard/dist" ]; then | |
| echo "✅ Build artifacts created successfully" | |
| ls -la apps/dashboard/dist/ | |
| else | |
| echo "❌ Build artifacts not found" | |
| exit 1 | |
| fi | |
| global: | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: read | |
| packages: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Node.js and pnpm | |
| uses: ./.github/actions/setup-node-pnpm | |
| - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0 | |
| with: | |
| node-version: 'lts/*' | |
| registry-url: 'https://npm.pkg.github.com' | |
| scope: '@voidzero-dev' | |
| package-manager-cache: false | |
| - run: npm install -g @voidzero-dev/global@latest | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: vite --version | |
| - run: vite fmt -c .oxfmtrc.jsonc --check | |
| - run: vite lint -c .oxlintrc.json | |
| env: | |
| VITE_LOG: 'trace' |