types: [opened, synchronize, reopened]
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
strategy:
matrix:
+ os: [windows-latest, macos-latest, ubuntu-latest]
node: ['14.x', '16.x', '18.x']
steps:
- uses: actions/checkout@v3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Build docker image
run: |
cd docker