Skip to content

Commit ed0ed7c

Browse files
committed
fix: issue with patternhub
1 parent 8d5ba38 commit ed0ed7c

File tree

2 files changed

+6
-90
lines changed

2 files changed

+6
-90
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: Test and publish to package registries after new GitHub release
33

4+
# TODO: Revert this file before mergin to main
5+
46
on:
57
release:
68
types: [published]
@@ -10,10 +12,6 @@ jobs:
1012
uses: ./.github/workflows/00-init.yml
1113
secrets: inherit
1214

13-
get-playwright-version:
14-
uses: ./.github/workflows/01-get-playwright-version.yml
15-
needs: [init]
16-
1715
get-publish-version:
1816
uses: ./.github/workflows/01-get-publish-version.yml
1917
needs: [init]
@@ -30,28 +28,10 @@ jobs:
3028
uses: ./.github/workflows/01-build-packages.yml
3129
needs: [init]
3230

33-
init-playwright:
34-
uses: ./.github/workflows/01-init-playwright.yml
35-
needs: [get-playwright-version]
36-
with:
37-
version: ${{ needs.get-playwright-version.outputs.version }}
38-
3931
build-outputs:
4032
uses: ./.github/workflows/01-build-outputs.yml
4133
needs: [build-packages]
4234

43-
test-components:
44-
uses: ./.github/workflows/02-e2e.yml
45-
needs: [build-packages, get-playwright-version]
46-
with:
47-
version: ${{ needs.get-playwright-version.outputs.version }}
48-
49-
test-foundations:
50-
uses: ./.github/workflows/02-e2e-foundations.yml
51-
needs: [build-packages, get-playwright-version]
52-
with:
53-
version: ${{ needs.get-playwright-version.outputs.version }}
54-
5535
build-showcase-stencil:
5636
uses: ./.github/workflows/01-build-showcases.yml
5737
needs: [build-packages]
@@ -101,48 +81,6 @@ jobs:
10181
release: ${{ needs.get-publish-version.outputs.release }}
10282
preRelease: ${{ needs.get-publish-version.outputs.preRelease }}
10383

104-
test-showcase-stencil:
105-
uses: ./.github/workflows/02-e2e-showcases.yml
106-
needs: [build-showcase-stencil, get-playwright-version]
107-
with:
108-
version: ${{ needs.get-playwright-version.outputs.version }}
109-
showcase: stencil-showcase
110-
111-
test-showcase-angular:
112-
uses: ./.github/workflows/02-e2e-showcases.yml
113-
needs: [build-showcase-angular, get-playwright-version]
114-
with:
115-
version: ${{ needs.get-playwright-version.outputs.version }}
116-
showcase: angular-showcase
117-
118-
test-showcase-react:
119-
uses: ./.github/workflows/02-e2e-showcases.yml
120-
needs: [build-showcase-react, get-playwright-version]
121-
with:
122-
version: ${{ needs.get-playwright-version.outputs.version }}
123-
showcase: react-showcase
124-
125-
test-showcase-vue:
126-
uses: ./.github/workflows/02-e2e-showcases.yml
127-
needs: [build-showcase-vue, get-playwright-version]
128-
with:
129-
version: ${{ needs.get-playwright-version.outputs.version }}
130-
showcase: vue-showcase
131-
132-
test-showcase-patternhub:
133-
uses: ./.github/workflows/02-e2e-showcases.yml
134-
needs: [build-showcase-patternhub, get-playwright-version]
135-
with:
136-
path: ${{ needs.build-showcase-patternhub.outputs.path }}
137-
version: ${{ needs.get-playwright-version.outputs.version }}
138-
showcase: patternhub
139-
140-
test-screen-reader:
141-
uses: ./.github/workflows/02-e2e-screen-reader.yml
142-
needs: [build-showcase-react, init-playwright, get-playwright-version]
143-
with:
144-
version: ${{ needs.get-playwright-version.outputs.version }}
145-
14684
checks-done:
14785
if: ${{ always() }}
14886
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
@@ -158,23 +96,7 @@ jobs:
15896
resultBuildShowcaseNuxt="${{ needs.build-showcase-nuxt.result }}"
15997
resultBuildShowcasePatternhub="${{ needs.build-showcase-patternhub.result }}"
16098
resultBuildOutputs="${{ needs.build-outputs.result }}"
161-
resultTestPackages="${{ needs.test-components.result }}"
162-
resultTestFoundations="${{ needs.test-foundations.result }}"
163-
resultTestShowcaseStencil="${{ needs.test-showcase-stencil.result }}"
164-
resultTestShowcaseAngular="${{ needs.test-showcase-angular.result }}"
165-
resultTestShowcaseReact="${{ needs.test-showcase-react.result }}"
166-
resultTestShowcaseVue="${{ needs.test-showcase-vue.result }}"
167-
resultTestShowcasePatternhub="${{ needs.test-showcase-patternhub.result }}"
168-
resultTestScreenReader="${{ needs.test-screen-reader.result }}"
169-
if [[ $resultTestFoundations == "success" ]] && \
170-
[[ $resultTestScreenReader == "success" ]] && \
171-
[[ $resultTestShowcaseStencil == "success" ]] && \
172-
[[ $resultTestShowcaseAngular == "success" ]] && \
173-
[[ $resultTestShowcaseReact == "success" ]] && \
174-
[[ $resultTestShowcaseVue == "success" ]] && \
175-
[[ $resultTestShowcasePatternhub == "success" ]] && \
176-
[[ $resultTestPackages == "success" ]] && \
177-
[[ $resultBuildOutputs == "success" ]] && \
99+
if [[ $resultBuildOutputs == "success" ]] && \
178100
[[ $resultBuildShowcaseStencil == "success" ]] && \
179101
[[ $resultBuildShowcaseAngular == "success" ]] && \
180102
[[ $resultBuildShowcaseAngularSSR == "success" ]] && \
@@ -199,15 +121,7 @@ jobs:
199121
build-showcase-vue,
200122
build-showcase-nuxt,
201123
build-showcase-patternhub,
202-
build-outputs,
203-
test-components,
204-
test-showcase-stencil,
205-
test-showcase-angular,
206-
test-showcase-react,
207-
test-showcase-vue,
208-
test-showcase-patternhub,
209-
test-foundations,
210-
test-screen-reader
124+
build-outputs
211125
]
212126

213127
deploy:

showcases/patternhub/pages/base64/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import { DBLink } from '@components';
2+
/* eslint-disable-next-line unicorn/prefer-node-protocol */
3+
import { Buffer } from 'buffer';
24
import { useEffect, useState } from 'react';
35
import {
46
COLOR,

0 commit comments

Comments
 (0)