From 0e53fc1d35a0b644e18d02fbd10cd5b6f56d1571 Mon Sep 17 00:00:00 2001 From: Quentin Roy Date: Fri, 15 Dec 2023 13:47:52 +0100 Subject: [PATCH] chore: use build result in publint github action (#212) --- .github/workflows/node.js.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yaml b/.github/workflows/node.js.yaml index eda4942e..833fd81e 100644 --- a/.github/workflows/node.js.yaml +++ b/.github/workflows/node.js.yaml @@ -102,6 +102,7 @@ jobs: - run: pnpm run lint publint: + needs: ['build'] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -126,5 +127,9 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - run: pnpm install --frozen-lockfile - - run: pnpm run build-all + - uses: actions/download-artifact@v3 + id: download + with: + name: 'build' + path: 'packages' - run: pnpm run publint