Ecosystem ci #113
This file contains 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: Ecosystem ci | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Runs at 00:00 UTC every day | |
workflow_dispatch: # Allows manual triggering of the workflow | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
build-verify: | |
name: Verify build artificts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.10.5 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' # Specify the Node.js version you need | |
cache: 'pnpm' | |
- name: Install dependencies and verify build artificts | |
run: | | |
pnpm install -r | |
pnpx playwright install --with-deps | |
pnpm --filter './apps/**' --filter "!./apps/qwik-*" run build | |
pnpm verify-build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |