Skip to content

Commit b620447

Browse files
committed
ci(gh-actions): Remove redundant {docs,explorer}_website jobs
And move all typescript testing steps to deploy_website.
1 parent 699a9bb commit b620447

File tree

1 file changed

+8
-70
lines changed

1 file changed

+8
-70
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -76,70 +76,6 @@ jobs:
7676
- name: Measure contract size
7777
run: yarn workspace @blocksense/contracts size
7878

79-
docs_website:
80-
timeout-minutes: 360
81-
runs-on: [self-hosted, nixos, x86-64-v3]
82-
83-
steps:
84-
- uses: actions/checkout@v4
85-
86-
- name: Install Nix
87-
uses: DeterminateSystems/nix-installer-action@v16
88-
if: ${{ runner.environment == 'github-hosted' }}
89-
with:
90-
extra-conf: accept-flake-config = true
91-
92-
- uses: cachix/cachix-action@v15
93-
with:
94-
name: ${{ vars.CACHIX_CACHE }}
95-
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
96-
97-
- name: Build & activate the Nix Dev Shell
98-
run: |
99-
eval "$(nix print-dev-env --accept-flake-config --impure .#devShells.x86_64-linux.default || echo exit 1)"
100-
env >> "$GITHUB_ENV"
101-
102-
- name: Install JS deps
103-
run: yarn install
104-
105-
- name: Build
106-
run: yarn workspace @blocksense/docs.blocksense.network build:with-deps
107-
108-
- name: Test `@blocksense/base-utils`
109-
run: yarn workspace @blocksense/base-utils test
110-
111-
- name: Test
112-
run: yarn workspace @blocksense/docs.blocksense.network test
113-
114-
explorer_website:
115-
timeout-minutes: 360
116-
runs-on: [self-hosted, nixos, x86-64-v3]
117-
118-
steps:
119-
- uses: actions/checkout@v4
120-
121-
- name: Install Nix
122-
uses: DeterminateSystems/nix-installer-action@v16
123-
if: ${{ runner.environment == 'github-hosted' }}
124-
with:
125-
extra-conf: accept-flake-config = true
126-
127-
- uses: cachix/cachix-action@v15
128-
with:
129-
name: ${{ vars.CACHIX_CACHE }}
130-
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
131-
132-
- name: Build & activate the Nix Dev Shell
133-
run: |
134-
eval "$(nix print-dev-env --accept-flake-config --impure .#devShells.x86_64-linux.default || echo exit 1)"
135-
env >> "$GITHUB_ENV"
136-
137-
- name: Install JS deps
138-
run: yarn install
139-
140-
- name: Build
141-
run: yarn workspace @blocksense/explorer.blocksense.network build
142-
14379
rust:
14480
timeout-minutes: 360
14581
strategy:
@@ -240,12 +176,14 @@ jobs:
240176
- name: Install JS deps
241177
run: yarn install
242178

243-
- name: Build the website
244-
run: |
245-
(
246-
cd apps/docs.blocksense.network
247-
yarn build:with-deps
248-
)
179+
- name: Build
180+
run: yarn workspace @blocksense/docs.blocksense.network build:with-deps
181+
182+
- name: Test `@blocksense/base-utils`
183+
run: yarn workspace @blocksense/base-utils test
184+
185+
- name: Test
186+
run: yarn workspace @blocksense/docs.blocksense.network test
249187

250188
- name: Deploy
251189
id: Deploy

0 commit comments

Comments
 (0)