We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467bf9f commit a0751efCopy full SHA for a0751ef
.github/workflows/integration.yml
@@ -0,0 +1,29 @@
1
+name: Integration test
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ name: Test on ${{ matrix.os }}
12
+ runs-on: ${{ matrix.os }}
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, windows-latest, macos-latest]
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - name: Setup Node.js
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: lts/*
24
25
+ - name: Install dependencies
26
+ run: npm ci
27
28
+ - name: Run tests
29
+ run: npm test
example/index.ts
@@ -20,6 +20,7 @@ async function convert() {
})
} catch (exc) {
console.error(exc)
+ process.exit(1)
}
0 commit comments