Skip to content

Commit 4340713

Browse files
committed
ENG-681 first trial
1 parent c316fe9 commit 4340713

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "functions-tests"
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v6
10+
- name: Install pnpm
11+
uses: pnpm/action-setup@v4
12+
with:
13+
version: 10.15.1
14+
run_install: false
15+
- name: Setup node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "20"
19+
cache: "pnpm"
20+
- name: Install Dependencies
21+
run: pnpm install --frozen-lockfile
22+
- name: Setup database
23+
working-directory: ./packages/database
24+
run: pnpm run setup
25+
- name: Setup database
26+
working-directory: ./packages/database
27+
run: pnpm run setup
28+
- name: Serve and run tests
29+
working-directory: ./packages/database
30+
run: |
31+
pnpm run serve &
32+
wait 2 ; pnpm run test

0 commit comments

Comments
 (0)