diff --git a/.github/workflows/publish-new-version.yaml b/.github/workflows/publish-new-version.yaml index 613518335f..893a85f34d 100644 --- a/.github/workflows/publish-new-version.yaml +++ b/.github/workflows/publish-new-version.yaml @@ -9,10 +9,19 @@ on: jobs: build: runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] steps: - uses: actions/checkout@v2 - + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'yarn' + - run: yarn install --frozen-lockfile --ignore-scripts - name: npm version run: | npm version ${{ github.event.inputs.version }}