-
-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (38 loc) · 903 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
tests:
name: CI Tests
runs-on: ubuntu-latest
environment: CI
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
cache: "npm"
- run: npm install
- name: Lint & Sanity Checks
env:
PHALANX_BASE_URL: https://dauntless-builder.com
PHALANX_API_KEY: static
run: |
npm run check # TODO: add biome lint
- name: Tests
env:
PHALANX_BASE_URL: https://dauntless-builder.com
PHALANX_API_KEY: static
run: |
npm run test
# TODO: readd this
# - name: Benchmarks
# run: |
# npm run bench
# # only run on pull requests
# if: github.event_name == 'pull_request'