diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68513ba4..56e0abaf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ on: jobs: test: runs-on: ubuntu-latest - + strategy: matrix: node-version: [10.x, 12.x, 13.x] - + services: mariadb: image: mariadb:latest @@ -34,15 +34,15 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - + - name: Verify MariaDB connection env: PORT: ${{ job.services.mariadb.ports[3306] }} run: | while ! mysqladmin ping -h"127.0.0.1" -P"$PORT" --silent; do sleep 1 - done - + done + - name: npm install, build, and test run: | npm ci @@ -55,7 +55,7 @@ jobs: MYSQL_PORT: ${{ job.services.mariadb.ports[3306] }} PORT: 35000 CI: true - + create-release: runs-on: [ubuntu-latest] needs: [test] @@ -98,7 +98,7 @@ jobs: id: buildx uses: crazy-max/ghaction-docker-buildx@v1 with: - version: latest + buildx-version: latest - name: Available platforms run: echo ${{ steps.buildx.outputs.platforms }} @@ -154,7 +154,7 @@ jobs: id: buildx uses: crazy-max/ghaction-docker-buildx@v1 with: - version: latest + buildx-version: latest - name: Available platforms run: echo ${{ steps.buildx.outputs.platforms }}