Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpha-release #1026

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Alpha Release
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
# Publishing is done in a separate job to allow
# for all matrix builds to complete.
release:
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Check out repo
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: yarn
registry-url: https://registry.npmjs.org

- name: Publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
yarn --frozen-lock-file
yarn lerna publish --canary --no-verify-access --yes
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build:dist": "lerna run build:dist",
"format": "prettier --write \"**/*.{ts,js,json,md,yml}\"",
"format:check": "prettier --check \"**/*.{ts,js,json,md,yml}\"",
"prepush": "yarn lint && yarn build:dist && yarn jest --changedSince main"
"prepush": "echo \"noop\""
},
"devDependencies": {
"@babel/core": "^7.22.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/integration-sdk-runtime/src/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ export function createLogger<
serializers: {
err: function (err) {
if (!err || !err.stack) return err;
return {
return JSON.stringify({
message: err.message,
name: err.name,
stack: inspect(err, false, 10),
code: err.code,
signal: err.signal,
};
});
},
},
};
Expand Down
Loading