From f0a5e5e14c6c7993adb884376794281cf11ee475 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Tue, 8 Sep 2020 10:42:31 -0400 Subject: [PATCH] Test against release-it@14. --- .github/workflows/ci.yml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86692a4..3c328b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ on: jobs: build: + name: "Node ${{ matrix.node-version }}" runs-on: ubuntu-latest @@ -17,13 +18,30 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: install dependencies - run: yarn install --non-interactive - - name: lint - run: yarn lint:js - - name: test - run: yarn test + run: yarn install --non-interactive --frozen-lockfile + - run: yarn lint:js + - run: yarn test + + release-it-compat: + name: "release-it@${{ matrix.release-it-version }}" + + runs-on: ubuntu-latest + + strategy: + matrix: + release-it-version: [13, 14] + + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - name: install dependencies + run: yarn install --non-interactive --frozen-lockfile + - run: yarn add --dev release-it@^${{ matrix.release-it-version }} + - run: yarn lint:js + - run: yarn test