1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| name: npm_test
| on: [pull_request, push]
| jobs:
| npm_test:
| runs-on: ${{ matrix.os }}
| strategy:
| matrix:
| os: [macos-latest, ubuntu-latest, windows-latest]
| steps:
| - uses: actions/checkout@v2
| - uses: actions/setup-node@v2
| with:
| node-version: '17'
| - run: npm install
| - run: npm test
| - name: Upload bin folder
| uses: actions/upload-artifact@v2
| with:
| name: bin
| path: bin/
|
|