diff --git a/.github/workflows/build_readme.yml b/.github/workflows/build_readme.yml index 243ffcaa..29292db3 100644 --- a/.github/workflows/build_readme.yml +++ b/.github/workflows/build_readme.yml @@ -42,31 +42,44 @@ jobs: uses: pnpm/action-setup@v4 with: version: 9 - + - name: Checkout - run: | - git clone --single-branch --branch tudor/feat-docker-action https://github.com/electric-sql/pglite.git ${{ runner.temp }}/src - # - name: Checkout - # uses: actions/checkout@v4 + uses: actions/checkout@v4 - - name: Build wasm + - name: Docker volume test env: - VOL: shared-volume + VOL: shared-volume run: | - cd ${{ runner.temp }}/src - ls $(pwd) - pnpm wasm:build + echo '123' > /wasm_out/test.txt + docker run --rm -v $VOL:/data alpine sh -c "ls /data && cat /data/test.txt" - - name: List wasm output dir after build + - name: Read output run: | ls /wasm_out + cat /data/test.txt + + # - name: Checkout + # run: | + # git clone --single-branch --branch tudor/feat-docker-action https://github.com/electric-sql/pglite.git ${{ runner.temp }}/src + + # - name: Build wasm + # env: + # VOL: shared-volume + # run: | + # cd ${{ runner.temp }}/src + # ls $(pwd) + # pnpm wasm:build + + # - name: List wasm output dir after build + # run: | + # ls /wasm_out - - name: Move release wasm files to pglite dir - run: | - mv /wasm_out/release /src/packages/pglite/ + # - name: Move release wasm files to pglite dir + # run: | + # mv /wasm_out/release /src/packages/pglite/ - - name: Build ts - run: | - cd /src - pnpm install - pnpm ts:build + # - name: Build ts + # run: | + # cd /src + # pnpm install + # pnpm ts:build