-
Notifications
You must be signed in to change notification settings - Fork 11
38 lines (32 loc) · 857 Bytes
/
test.yml
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Test
on: [push]
jobs:
test:
name: 'Test'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm ci --force
- run: npm run build
- run: npm run lint
- run: npm run download
- name: Run test
if: matrix.os != 'windows-latest'
run: |
cd packages/embedded-postgres
npm test
- name: Run test (NL locale)
env:
LC_ALL: nl_NL.utf8
if: matrix.os != 'windows-latest'
run: |
cd packages/embedded-postgres
npm test