Skip to content

Commit

Permalink
Attempt to make live
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Scullin committed Mar 26, 2024
1 parent 4506841 commit 7dad390
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
name: npmjs.com Release

on: [workflow_dispatch, push]
on: [workflow_dispatch]

jobs:
# db-bigquery:
# uses: './.github/workflows/db-bigquery.yaml'
# secrets:
# BIGQUERY_KEY: ${{ secrets.BIGQUERY_KEY }}
# db-motherduck:
# uses: './.github/workflows/db-motherduck.yaml'
# secrets:
# MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }}
# db-postgres:
# uses: './.github/workflows/db-postgres.yaml'
# db-snowflake:
# uses: './.github/workflows/db-snowflake.yaml'
# secrets:
# SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
# SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
db-bigquery:
uses: './.github/workflows/db-bigquery.yaml'
secrets:
BIGQUERY_KEY: ${{ secrets.BIGQUERY_KEY }}
db-motherduck:
uses: './.github/workflows/db-motherduck.yaml'
secrets:
MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }}
db-postgres:
uses: './.github/workflows/db-postgres.yaml'
db-snowflake:
uses: './.github/workflows/db-snowflake.yaml'
secrets:
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
main:
uses: './.github/workflows/main.yaml'

npm-release:
needs:
# - db-bigquery
# - db-motherduck
# - db-postgres
# - db-snowflake
- db-bigquery
- db-motherduck
- db-postgres
- db-snowflake
- main
runs-on: ubuntu-latest
env:
Expand All @@ -48,7 +48,7 @@ jobs:
VERSION=$(jq -r .version ./lerna.json)
for package in $PACKAGES; do
echo Publishing $package $VERSION
npm publish --dry-run -w $package --access=public
npm publish -w $package --access=public
done
# Make sure we're current
git pull origin $BRANCH_NAME
Expand All @@ -65,4 +65,4 @@ jobs:
env:
CI: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
BRANCH_NAME: whscullin/release
BRANCH_NAME: main
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.135",
"command": {
"version": {
"allowBranch": "whscullin/release"
"allowBranch": "main"
}
}
}

0 comments on commit 7dad390

Please sign in to comment.