We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e55c9ba commit 699492cCopy full SHA for 699492c
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,23 @@
1
+
2
+name: Node.js CI
3
+on: push
4
+jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ node-version: [20.x]
10
+ env:
11
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Use Node.js ${{ matrix.node-version }}
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: ${{ matrix.node-version }}
18
+ - run: npm install
19
+ - name: Run tests
20
+ run: npx nyc@latest --reporter=lcov npm test
21
+ - uses: codecov/codecov-action@v4
22
23
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments