From dbd5915f25afb5fba73d9ece1c145099c3c35a24 Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Thu, 16 Dec 2021 21:22:54 -0600 Subject: [PATCH] ci: run build before each script --- .github/workflows/the.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/the.yml b/.github/workflows/the.yml index 52f2cb9..f9dc6ef 100644 --- a/.github/workflows/the.yml +++ b/.github/workflows/the.yml @@ -17,9 +17,9 @@ jobs: strategy: matrix: node-version: [16, 17] - pnpm-script: [build, lint, test, typecheck] + script-name: [lint, test, typecheck] fail-fast: false - name: ${{ matrix.pnpm-script }} (node ${{ matrix.node-version }}) + name: ${{ matrix.script-name }} (node ${{ matrix.node-version }}) runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -29,4 +29,5 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm i -g pnpm - run: pnpm install --frozen-lockfile - - run: pnpm run ${{ matrix.pnpm-script }} + - run: pnpm run build + - run: pnpm run ${{ matrix.script-name }}