title: Run GitHub Action on multiple environments
body: <p>I want to run GitHub Actions on more than one environment, let's say on Windows and Linux. I managed to do it with Travis CI, but I could not find information about how to do it with GitHub Actions.</p>
  <p>Has anyone tried it?</p>
  <p>This is my nodejs.yml.</p>
  <pre><code>name: Node CI
  
  on: [push]
  
  jobs:
      build:
          runs-on: ubuntu-latest
  
          strategy:
              matrix:
                  node-version: [12.x]
  
          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
                run: |
                    npm ci
              - name: prettier format check
                run: |
                    npm run prettier-check
              - name: lint format check
                run: |
                    npm run lint-check
              - name: build, and test
                run: |
                    npm run build
                    npm test --if-present
                env:
                    CI: true
  </code></pre>