- ubuntu-latest
- macos-latest
- windows-latest
- node_version:
+ node-version:
- 14
include:
- node-version: 12
os: unbuntu-latest
- node-version: 16
os: ubuntu-latest
- name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
+ name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: pnpm/action-setup@v2.0.1
version: 6
- uses: actions/setup-node@v2
with:
- node-version: ${{ matrix.node_version }}
+ node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install
- run: pnpm test