Test Build #1
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: Test Build | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 2 * * 1" # Run weekly on Monday at 2 AM UTC | |
jobs: | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
cache: "pnpm" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run quality checks | |
run: pnpm run quality | |
- name: Test build | |
run: pnpm run build | |
- name: Test DXT operations | |
run: | | |
pnpm run dxt:validate | |
pnpm run dxt:pack | |
- name: Check package contents | |
run: | | |
echo "Package contents:" | |
tar -tzf *.tgz | head -20 |