f5976a2d74
* feat: moved tl-runtime to esm and native ArrayBuffers * feat: migration to esm * fix(core): web-related fixes * test: finally, some good fucking e2e * chore: fixed linters etc * ci: added e2e to ci * build(tl): fixed gen-code on node 20 * fix: codegen Uint8Array, not Buffer never `git reset --hard` kids * build: only do type-aware linting for `packages/*` * build: ignore no-unresolved in ci for e2e * fix: node 16 doesn't have subtle crypto apparently? * fix(tests): use Uint8Array for gods sake please can i just merge this already * ci: don't parallel tasks in ci because machines are utter garbage and it may just randomly break * ci: pass secrets to e2e tests * ci: separate cli command for ci apparently im retarded * fix: run codegen in e2e im actually retarded * ci: more fixes for e2e * ci: debugging stuff * ci: still debugging * ci: hopefully fix ci???
19 lines
No EOL
496 B
Text
19 lines
No EOL
496 B
Text
FROM node:20-alpine
|
|
WORKDIR /app
|
|
|
|
RUN apk add python3 make g++ && \
|
|
corepack enable && \
|
|
corepack prepare pnpm@8.7.1 --activate
|
|
|
|
COPY ../ /app/
|
|
|
|
RUN pnpm install --frozen-lockfile && \
|
|
pnpm -C packages/tl run gen-code && \
|
|
# verdaccio is configured to allow anonymous publish, but npm requires a token 🥴
|
|
npm config set //verdaccio:4873/:_authToken fake-token
|
|
|
|
ENV REGISTRY="http://verdaccio:4873/"
|
|
ENV E2E="1"
|
|
|
|
ENTRYPOINT [ "node", "/app/scripts/publish.js" ]
|
|
CMD [ "all" ] |