Skip to content

Commit

Permalink
ci: setup tests on all main OS
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Jun 14, 2024
1 parent 0e714ce commit 40c388b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ on:

jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -22,9 +25,8 @@ jobs:
- name: Build package
run: yarn compile

# TODO: Uncomment the following lines if you have tests
# - name: Test the package
# run: yarn test
- name: Test the package
run: yarn test

- name: Check file formatting
run: yarn format:check
13 changes: 3 additions & 10 deletions client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@
"module": "nodenext",
"target": "es2021",
"esModuleInterop": true,
"lib": [
"es2021"
],
"lib": ["es2021"],
"outDir": "out",
"rootDir": "src",
"sourceMap": true,
"composite": true,
"incremental": true
},
"include": [
"src"
],
"exclude": [
"node_modules",
".vscode-test"
]
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
}

0 comments on commit 40c388b

Please sign in to comment.