Skip to content

Commit

Permalink
chore: 🤖 add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Jul 18, 2024
1 parent 4ae7bc1 commit 29cfcda
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Ecosystem ci

on:
workflow_dispatch: # Allows manual triggering of the workflow
push:
branches:
- main
paths-ignore:
- '**/*.md'

jobs:
build-verify:
name: Metric
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
pnpm --filter './apps/**' --filter "!./apps/qwik-*" run build
pnpm verify-build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"verify-build": "node ./packages/build-tester/index.mjs"
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 29cfcda

Please sign in to comment.