Skip to content

Commit cbd4192

Browse files
committed
chore: add ci tests
1 parent 838feb3 commit cbd4192

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-20.04
8+
strategy:
9+
matrix:
10+
node-version: [20]
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: pnpm/action-setup@v4
15+
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
cache: "pnpm"
21+
22+
- name: Install dependencies
23+
run: pnpm install --frozen-lockfile
24+
25+
- name: Run tests
26+
# TODO(security): test all packages & apps (js, noir & rust)
27+
run: cd packages/contracts && pnpm test

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@repo/monorepo",
33
"type": "module",
44
"private": true,
5+
"packageManager": "pnpm@9.15.4",
56
"devDependencies": {
67
"prettier-plugin-svelte": "^3.2.7",
78
"typescript": "^5.6.3"

0 commit comments

Comments
 (0)