Merge pull request #16 from vladimiry/dependabot/npm_and_yarn/microma… #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "GitHub Actions CI" | |
on: { push: { branches: [ master ] }, pull_request: { branches: [ master ] } } | |
jobs: | |
lib: | |
if: github.event_name == 'push' | |
strategy: { matrix: { os: [ ubuntu-20.04, windows-2019, macos-11 ], node: [ 12, 14, 16 ] }, fail-fast: false } | |
runs-on: ${{ matrix.os }} | |
steps: | |
- { uses: actions/setup-node@v1, with: { node-version: "${{ matrix.node }}" } } | |
- { uses: actions/checkout@v2 } | |
- name: lib | |
run: | | |
node --version | |
npm --version | |
yarn --version | |
npx envinfo | |
yarn --pure-lockfile --network-timeout 60000 | |
yarn run lib |