-
-
Notifications
You must be signed in to change notification settings - Fork 566
32 lines (26 loc) · 632 Bytes
/
test.yml
File metadata and controls
32 lines (26 loc) · 632 Bytes
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
name: Unit tests
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: ".node-version"
- name: yarn install
run: |
corepack enable
# try and avoid timeout errors
yarn config set httpTimeout 100000
yarn install --immutable
yarn build:ts
- name: run tests
run: |
yarn test