.github/workflows/windows-test.yml
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Windows
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
node_version:
- 10
- 12
- 14
name: Node V${{ matrix.node_version }} on Windows Server 2019
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- run: gem update --system
- run: gem install compass
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- run: npm rebuild
- run: npm install-test
- run: npm run lint