diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5c2505895..03d5239e3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,8 +14,7 @@ jobs: nexus-schema-version: [^1.0.0] steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: yarn --frozen-lockfile diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 6e3c92dba..3d2ad2249 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -13,12 +13,13 @@ jobs: strategy: matrix: node-version: [10.x, 12.x] + nexus-schema-version: [^1.0.0] steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: yarn --frozen-lockfile + - run: yarn add nexus@${{ matrix.nexus-schema-version }} - run: yarn build - run: yarn -s test