From cd6730f7e85bd024a6ef06015186e68691b6a2f8 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Mon, 21 Aug 2023 11:49:15 -0500 Subject: [PATCH] deal with preflight for now --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 786dec85..d86637fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,9 @@ jobs: key: | ${{ env.CACHE_EPOCH }}-ubuntu-node-modules-${{ hashFiles('yarn.lock') }} + - name: preflight + run: set -eux && source /home/runner/micromamba/envs/ci/bin/activate && doit lock:preflight + - name: build run: set -eux && source /home/runner/micromamba/envs/ci/bin/activate && doit -n4 *:build:* || doit *:build:* @@ -50,7 +53,14 @@ jobs: name: jupyterlab-fonts-${{ github.run_number }}-dist path: ./dist + - name: upload (preflight) + uses: actions/upload-artifact@v3 + with: + name: jupyterlab-fonts-${{ github.run_number }}-lock-preflight + path: ./build/locks + lint: + needs: [build] runs-on: ubuntu-latest steps: - name: checkout @@ -70,6 +80,12 @@ jobs: key: | ${{ env.CACHE_EPOCH }}-ubuntu-node-modules-${{ hashFiles('yarn.lock') }} + - name: download (preflight) + uses: actions/download-artifact@v3 + with: + name: jupyterlab-fonts-${{ github.run_number }}-lock-preflight + path: ./build/locks + - name: lint run: set -eux && source /home/runner/micromamba/envs/ci/bin/activate && doit -n4 *:lint:* || doit *:lint:*