Skip to content

Commit fe729aa

Browse files
authored
fix(ci): move install to nix action (#240)
1 parent ea92fa1 commit fe729aa

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.github/actions/setup-nix/action.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ runs:
1313
with:
1414
name: numtide
1515
authToken: ''
16+
17+
- name: Load Nix development environment
18+
shell: bash
19+
run: nix develop --command true

.github/workflows/ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
- name: Setup Nix
2626
uses: ./.github/actions/setup-nix
2727

28-
- name: Initialise Nix environment
29-
run: nix develop --command true
30-
3128
- name: Run Lint
3229
run: nix develop --command pnpm run lint
3330

.github/workflows/dry-publish.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,5 @@ jobs:
1313
- name: Setup Nix
1414
uses: ./.github/actions/setup-nix
1515

16-
- name: Install dependencies
17-
run: nix develop --command pnpm install --frozen-lockfile
18-
1916
- name: 🚀 Dry Run Publish Package
2017
run: nix develop --command pnpm dlx pkg-pr-new publish --pnpm

.github/workflows/release.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,5 @@ jobs:
4141
registry-url: 'https://registry.npmjs.org'
4242
node-version: lts/*
4343

44-
- name: 💫 Install dependencies
45-
run: nix develop --command pnpm install --frozen-lockfile
46-
4744
- name: 🚀 Publish package
4845
run: nix develop --command pnpm publish --provenance --no-git-checks --access public

0 commit comments

Comments
 (0)