diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 9dc30db..4957a78 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -35,3 +35,22 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} directory: ./coverage/ + + test-windows: + runs-on: windows-latest + strategy: + matrix: + node: [stable] + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm test + env: + CI: true