Skip to content

Commit

Permalink
Swap to publishing loadable extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi authored and Mytherin committed Dec 21, 2023
1 parent 8c07d84 commit e821b71
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -739,15 +739,6 @@ jobs:
name: duckdb-wasm-packages
path: duckdb-wasm-packages.zip

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
if: env.NODE_AUTH_TOKEN != null && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch')
run: |
./scripts/npm_publish_lib.sh
./scripts/npm_publish_shell.sh
./scripts/npm_publish_react.sh
- name: Build @duckdb/benchmarks
shell: bash
run: |
Expand Down Expand Up @@ -1049,13 +1040,6 @@ jobs:
# run: |
# CHROME_BIN=`which google-chrome` yarn workspace @duckdb/duckdb-wasm test:chrome:coverage

- name: Deploy GitHub Page
if: github.ref == 'refs/heads/main'
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git fetch origin gh-pages
./scripts/deploy_pages.sh
- name: Package
shell: bash
run: zip -r duckdb-wasm-packages.zip ./packages
Expand All @@ -1065,6 +1049,22 @@ jobs:
name: duckdb-wasm-packages-loadable
path: duckdb-wasm-packages.zip

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
if: env.NODE_AUTH_TOKEN != null && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch')
run: |
./scripts/npm_publish_lib.sh
./scripts/npm_publish_shell.sh
./scripts/npm_publish_react.sh
- name: Deploy GitHub Page
if: github.ref == 'refs/heads/main'
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git fetch origin gh-pages
./scripts/deploy_pages.sh
merge_reports:
name: Merge benchmark reports
runs-on: ubuntu-latest
Expand Down

0 comments on commit e821b71

Please sign in to comment.