From a9ce5b882f45d60ec584efaea0e22b1c5ca57fdb Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Mon, 15 Dec 2025 16:28:50 +0000 Subject: [PATCH] fix(ci): move install to nix action --- .github/actions/setup-nix/action.yaml | 4 ++++ .github/workflows/ci.yaml | 3 --- .github/workflows/dry-publish.yaml | 3 --- .github/workflows/release.yaml | 3 --- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/actions/setup-nix/action.yaml b/.github/actions/setup-nix/action.yaml index 3e2727d..6600015 100644 --- a/.github/actions/setup-nix/action.yaml +++ b/.github/actions/setup-nix/action.yaml @@ -13,3 +13,7 @@ runs: with: name: numtide authToken: '' + + - name: Load Nix development environment + shell: bash + run: nix develop --command true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5f8a30c..54282d9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,9 +25,6 @@ jobs: - name: Setup Nix uses: ./.github/actions/setup-nix - - name: Initialise Nix environment - run: nix develop --command true - - name: Run Lint run: nix develop --command pnpm run lint diff --git a/.github/workflows/dry-publish.yaml b/.github/workflows/dry-publish.yaml index 7eec921..a8468b5 100644 --- a/.github/workflows/dry-publish.yaml +++ b/.github/workflows/dry-publish.yaml @@ -13,8 +13,5 @@ jobs: - name: Setup Nix uses: ./.github/actions/setup-nix - - name: Install dependencies - run: nix develop --command pnpm install --frozen-lockfile - - name: 🚀 Dry Run Publish Package run: nix develop --command pnpm dlx pkg-pr-new publish --pnpm diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f0d2baa..02243e2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -41,8 +41,5 @@ jobs: registry-url: 'https://registry.npmjs.org' node-version: lts/* - - name: 💫 Install dependencies - run: nix develop --command pnpm install --frozen-lockfile - - name: 🚀 Publish package run: nix develop --command pnpm publish --provenance --no-git-checks --access public